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 derfloh 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
Joined
Nov 30, 2002
Messages
40
Location
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
 
Worked like a charm

thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top