Update?

  • Thread starter Thread starter Doug
  • Start date Start date
D

Doug

I am using Access 97 , I am using a form to enter information , I have a
command button that runs a query which fills in another form. The
information from the first form has not been updated before the query runs.
How do I update the record before I run the query?
Thanks
Doug
 
Sounds as if you need to tell the first form to save its data. Put this code
step as the first step in the code for the button:

Me.Dirty = False

This will force the form to save the data.
 
Thanks Ken, works great.

Ken Snell said:
Sounds as if you need to tell the first form to save its data. Put this code
step as the first step in the code for the button:

Me.Dirty = False

This will force the form to save the data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top