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

Close form without saving data

Status
Not open for further replies.

rphbrew

Technical User
Nov 30, 2002
40
US
I am using the following code

DoCmd.CLOSE acForm, "FormName", acSaveNo

I have this on a cancel request button. However the data entered gets saved.

 
Hi!

In the cancel button add a Me.Undo and then close.

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top