B
Bill Mitchell
Hi,
I am looking for the best way to denote programmatically
the most recent record the current user has added to the
database in a multi-user environment.
The reason I need this is that I want the user to be able
to run an append query copying some data from a current
record into a new record (such as adding a new staff
member), then requery the active form and do a findrecord
to go to the new record.
The best way, it seems to me, would be to have access
create the new record with the append query, somehow
record that new record's "Contact_ID" number in a Public
Variable, then do the FindRecord for the Contact_ID that
matched that variable.
I just don't know how to run the append query, have
access identify the new Contact_ID and set the Public
Variable (say "Contact_ID_#") to that new Contact_ID.
Any ideas?
Thanks.
I am looking for the best way to denote programmatically
the most recent record the current user has added to the
database in a multi-user environment.
The reason I need this is that I want the user to be able
to run an append query copying some data from a current
record into a new record (such as adding a new staff
member), then requery the active form and do a findrecord
to go to the new record.
The best way, it seems to me, would be to have access
create the new record with the append query, somehow
record that new record's "Contact_ID" number in a Public
Variable, then do the FindRecord for the Contact_ID that
matched that variable.
I just don't know how to run the append query, have
access identify the new Contact_ID and set the Public
Variable (say "Contact_ID_#") to that new Contact_ID.
Any ideas?
Thanks.