B
Ben
Hi all,
Environment: Access2003, WinXP. ADO
1. I have a disconnected recordset tied to a form, if I deleted a record on
the form, I want to be able to jump to the next record and the record count
decreased by 1 immediately reflected. For example if the record navigator
has shows 10 records and I am currently on the 3rd record, if I click a
delete button on the form, I like the form to show the next record, so that
the record navigator would show record 3 of 9. That is possible?
Can you show me how I can accomplish that?
If I then reconnect the recordset to the database and do a batch update, it
would just remove the record from the table?
2. Is there a way to test for an ADO disconnected recordset to see if anyone
of the record has been modified. If there is, I want to use this flag to do
something like this:
rs.updatebatch
Thanks so much,
Ben
--
Environment: Access2003, WinXP. ADO
1. I have a disconnected recordset tied to a form, if I deleted a record on
the form, I want to be able to jump to the next record and the record count
decreased by 1 immediately reflected. For example if the record navigator
has shows 10 records and I am currently on the 3rd record, if I click a
delete button on the form, I like the form to show the next record, so that
the record navigator would show record 3 of 9. That is possible?
Can you show me how I can accomplish that?
If I then reconnect the recordset to the database and do a batch update, it
would just remove the record from the table?
2. Is there a way to test for an ADO disconnected recordset to see if anyone
of the record has been modified. If there is, I want to use this flag to do
something like this:
rs.updatebatch
Thanks so much,
Ben
--