After append update query

twychopen22

Registered User.
Local time
Today, 09:55
Joined
Jul 31, 2006
Messages
101
I need an append query to also update a yes/no box or a text box with "yes" "no" in the field.
I don't know how to do this in SQL. Please help.
Query 1 is the name of the query I want updated from "yes" to "no"
Something like:
AFTER APPEND (I am not sure how to do the "after append" in sql)
UPDATE Query 1
SET Query 1.DueToday = "No"
Where DueToday = "Yes"
 
Just create two queries, run one after the other.
 
Brilliant!!!
I got them all to work correctly. Thanks for your help!
 
When all my queries run automatically how do I get them to automatically say "ok" to the boxes that pop up?
 
From Code:
Code:
SetWarnings=False
DoCmd.RunQuery "MyQueryName"
DoCmd.RunQuery "MyOtherQueryName"
SetWarnings=True
 
Where are you running the queries from, VBA or Macro.
The example boblarson gave was if you were using VBA, if you are using a macro, use the SETWARNINGS command
 

Users who are viewing this thread

Back
Top Bottom