update query question

S

Stephen

good day

I have a table with two fields holding and paid both are yes/no
holding is checked on when invoice received and approved
what I need to do is run a query to uncheck holding and check paid but I
can not seem how to set the query
can someone point to an example I can refer to

Thank You
Stephen
 
K

KARL DEWEY

Backup your databate.
You can use this query substituting your table name for [YourDataTable] --
But you need some criteria in the query as this will update ALL records.

UPDATE YourDataTable SET YourDataTable.Holding = 0, YourDataTable.Paid = -1;
 

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

Top