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

Output of DoCmd.RunSQL to variable?

Status
Not open for further replies.

JFoushee

Programmer
Oct 23, 2000
200
US
Is it possible to output a one-record result to a variable?

Basically, since Access doesn't support an "UPDATE table SET field = (SELECT value FROM...)" statement, I need milestone values to make progress.

Or is there a better solution?

I have a two-tiered table, one root, and zipcodes to zones.
When the zipcode is entered in the form, the zone should update. I've tried LEFT joining the tables initially, but people have their standards of using 5- vs. 9-digit zipcodes. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top