
How to move to the next record
I put the following two lines of code in the
After Update event on a form:
Private Sub Form_AfterUpdate()
dtmChangeDate = Now()
strLastUser = strLogon
End Sub
The first line sets the dtmChangeDate field to
the current date and time and the second line
sets the value of the strLastUser field to the
variable strLogin which is assigned when the
database is opened. My problem is that if a
record is changed, the updates to the fields take
place, but the current record stays displayed.
When I click the next record button (on the
Navigation buttons), it won't move to the next
record. I can move to other records if I do not
makes changes to the records. What lines of code
do I need to add to the After Update event?
Thanks for the help.
Cliff
Sent via Deja.com http://www.deja.com/
Before you buy.