R
Robin9876
On a Access 2003 form which is based on a table called Person there is
an autonumber field called PersonID on the form close I have code to
get the value from me.PersonID (or [Forms]![myForm].[PersonID]) into a
module variable. The form has record selectors.
After adding a new record, the latest id is displayed for the record
but when in the form close it returns the PersonID of the first person
in the table.
How can the current value on the screen be returned in the form close?
an autonumber field called PersonID on the form close I have code to
get the value from me.PersonID (or [Forms]![myForm].[PersonID]) into a
module variable. The form has record selectors.
After adding a new record, the latest id is displayed for the record
but when in the form close it returns the PersonID of the first person
in the table.
How can the current value on the screen be returned in the form close?