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

decrement access table field value

Status
Not open for further replies.

traceyae

Instructor
Mar 30, 2002
1
GB
I need to decrement the 'stock' field value on receipt of a web order. I'm using access 2000. I've created an update query that will do this, but as far as I know, queries only work via forms. Can anyone offer any advice please?
 
Not really sure what you mean by "...queries work only via forms.." If you mean they can be used only as rowsources for forms, that's incorrect. You can execute an action query from a command button on your form. Put this in the Click event of a command button:

DoCmd.OpenQuery "Query1"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top