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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to cancel in a form

Status
Not open for further replies.

FadeOut

Programmer
Mar 27, 2004
14
0
0
CA
I got a problem in a form

I got a form that i Open in "add" function, but, if i put something in a field, and decide to change my mind, i want to be able to cancel the line that is added in the table

Is there a way to do so?
 
Press the escape key one or more times.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Thnak you for the reply, it works well, but since I do this for someone else, I don't want him to be "confused". Is there a way to do it from a command button using vbacode?

 
Hi!

[tt]Me.Undo[/tt]

is the equivalence of hitting ESC.

Using the add button wizard in the forms design view, gives another "coded" version, but both usually works

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top