|
-
Jan 9th, 2000, 02:27 AM
#1
Thread Starter
Addicted Member
I would Like to know how to do a few things in DB's.
How do you tell the Data contoll to make a new record?
How could I tell the data contoll to save the changed data of the fields with a command button?
Thankyou!!
-
Jan 9th, 2000, 02:34 AM
#2
data1.recordset.addnew 'to make a new record
data1.recordset.movenext 'i think this should save the record
-
Jan 9th, 2000, 02:38 AM
#3
Thread Starter
Addicted Member
Thankyou alot, But what if there is no next record??
-
Jan 9th, 2000, 03:14 AM
#4
Guru
If there is no next record, the EOF property will be TRUE. You can control this by setting the BOFAction, EOFAction of the data control.
When you want to update a recordset, you should issue the data1.Recordset.Update command before you movenext, but the fields are updated automatically anyways....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|