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!

how to update a record

Status
Not open for further replies.

kronar30

Programmer
Sep 8, 2004
74
US
I have a form based on a query. It is Dynaset, continuous form. How do I update any user changes to the record before i run a delete query based on the delete key the user just set in the record?
 
The Query the form is based on displays bid records with the included field delete-sw. On clicking the delete records button, a delete query is run to delete the records with the delete-sw set. All records delete except the last record the user just set the delete-sw (which still has the focus). Since I did not open and have control of the recordset in code, how do I force the last user record action to update the table before the delete query runs?
 
Add the following before launching the delete query:
Me.Dirty = False

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top