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!

Not Saving the Form

Status
Not open for further replies.

sturner333

Programmer
Jan 19, 2004
67
US
I open a form for a "New Project" and populate the Project Number text box when the form opens. Can I make it that the form is only saved if I determine I want to have it save? Reason being if I populate the Project Number but the user does nothing else, I don't want the form saved to the table.
Thanks
 
Use the BeforeUpdate event procedure.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
What would you do in this procedure to keep it from saving?
Thanks
 
In the BeforeUpdate event procedure of the form you enforce all the validation rules setting Cancel = True if any fails.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top