how to write save and edit button codes if i am saving in MS-Access
save and edit button codeshow to write save and edit button codes if i am saving in MS-Access
Page 1 of 1
8 Replies - 23362 Views - Last Post: 17 January 2013 - 12:22 AM
Replies To: save and edit button codes
#3
Re: save and edit button codes
Posted 28 September 2008 - 12:13 AM
What technology are you using???? ADO or DAO????
#4
Re: save and edit button codes
Posted 06 October 2008 - 03:20 PM
#5
Re: save and edit button codes
Posted 06 October 2008 - 11:57 PM
Quote
Save button code:
if data1.recordset.updatable then data1.recordset.update
Edit button code
Data1.recordset.edit
if data1.recordset.updatable then data1.recordset.update
Edit button code
Data1.recordset.edit
Its DAO !!!
#6 Guest_leeb*
Re: save and edit button codes
Posted 31 March 2010 - 12:46 AM
#7
Re: save and edit button codes
Posted 31 March 2010 - 01:10 AM
read the second post carefully
#8
Re: save and edit button codes
Posted 17 January 2013 - 12:21 AM
that's so simple ...
if you using ado, you can add and edit by this code
this is for add
this is for edit
hope it can help
if you using ado, you can add and edit by this code
this is for add
dim add as string
add = "Insert into table1 values('" & text1.text & "'......)"
this is for edit
dim edit as string edit = "Update table1 set Name='" & text1.text & "'"
hope it can help
#9
Re: save and edit button codes
Posted 17 January 2013 - 12:22 AM
Please pay attention to the dates and avoid necroposting. Thank you!
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote







|