Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving to next record without saving

Status
Not open for further replies.

helpneeded123

Technical User
Jun 21, 2006
2
IN
how to move to the next record without saving it
if I set cancel = true in before update the change is not saved in the table but the cursor doesnt move from the record and stays in the old record
 
I going nuts! Thought I answered this (this happend on another post too, where I'm sure I answered it).

Anyway, try this on the BeforeUpdate event

If (Me.Dirty) then Me.Undo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top