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!

Bound/unbound forms

Status
Not open for further replies.

kingz2000

Programmer
May 28, 2002
304
0
0
DE
Hi everyone,

I currently have a form bound to a table. I have created a save button, because I need to set a flag when I save a dataset. To be more precise I need to add the user to a column of the dataset. So I want to disable the automatic save procedure of saving in a bound form. I tried to set cancel=true in the before_update(), but that creates another problem, that a line from.dirty = false which I had to set before my SQL execution is causing an error(2101).
The question is, is it easy to stop the automatic saving?? If so, how?
 
If the table is local - can data macro complete this task?

combo
 
You could create a local data entry table for temporary storage of the record. When the save button is clicked, the record is appended to the permanent table with the user field. You can also delete the record from the temporary table.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top