Updating a Record using a current record

M

MRW

Hello,

I'm trying to make an inventory database. When a product is being
shipping, I want to take the current QTY and minus 1 (for example) for
each product being shipped.

I know I can connect to the database by ProductID, use a reader, grab
the QTY, close the reader, do QTY=QTY-1, then send an update query for
all products in that cart.

However, I'm sure there is an easier way of doing this. Does anybody
have any suggestions?

Thanks for any help!
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top