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

Stop Saving new record when switching to design mode

Status
Not open for further replies.

vfisher

Programmer
Apr 15, 2002
40
US
I'm using Access 97. I have a form that is opened as add and has some data preloaded from the previous form. Everytime I switch to design mode it tries to save the record. I have no idea what's causing this. I have a cancel on the before update because there's a save button. Any help will be greatly appreciated.
 
Is any save module called on Form Unload Event
Is the form u mean is a bound form?
 
There is no code on the unload event. The Form is bound to an underlying query because I need to update data in one table while adding the new row in the other. I think this may be causing a problem but I'm not sure how to do this otherwise.
 
When u bound to table/query
the values will be updated in the table immediately on
Form_afterUpdate Event???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top