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

Update Queries

Status
Not open for further replies.

razchip

Technical User
Feb 2, 2001
133
US
I have a couple of update queries that I have to run against a table. If I run them manually, they work fine, if I put them in an Event Procedure, they run, but they don't update the information. What am I missing[curse]?

Thanks for any help.

Thanks for the help.
Greg
 
What code are you using to fire them...

------------------------
Hit any User to continue
 
I use a simple docmd string: DoCmd.OpenQuery "88A Add $ to GWEMP", acNormal, acEdit

Thanks for the help.
Greg
 
Give it a whirl by excluding all but DoCmd.OpenQuery "88A Add $ to GWEMP"

...alternatively, use the Docmd.RunSQL command and dump the physical SQL statement into code :D


------------------------
Hit any User to continue
 
I converted them to SQL and they seemed to work. Thanks for the input.

Thanks for the help.
Greg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top