A
apollo8359
I need a lesson in recordsets. I want to use a recordset to open a form and
add a new record. I am having trouble finding all the necessary code to
create the recordset, make the form use that recordset and then update the
table after they choose to save it. Should they choose not to save, the
autonumber on the table should not advance. If I get comfortable with this
code, I will use it to speed up the main form by calling only one record,
rather than open the entire query as its recordsource, however, I need to
lock the edited record, is this possible? This is a multi-user database with
the tables on the network, but I can't find the code I need to accomplish
these prefered programming methods. Any help would be greatly appreciated.
I'll even buy a book if it has DAO code, not ADO, or read an article
somewhere, I just need to get this clear in my head.
Regards,
Michael
add a new record. I am having trouble finding all the necessary code to
create the recordset, make the form use that recordset and then update the
table after they choose to save it. Should they choose not to save, the
autonumber on the table should not advance. If I get comfortable with this
code, I will use it to speed up the main form by calling only one record,
rather than open the entire query as its recordsource, however, I need to
lock the edited record, is this possible? This is a multi-user database with
the tables on the network, but I can't find the code I need to accomplish
these prefered programming methods. Any help would be greatly appreciated.
I'll even buy a book if it has DAO code, not ADO, or read an article
somewhere, I just need to get this clear in my head.
Regards,
Michael