Products in stock

  • Thread starter Planet Internet Nieuws
  • Start date
P

Planet Internet Nieuws

Hi,

I have a table wiith products, that can get ordered via a form that contains
orders. Each time a product is ordered in the form, I want the amount to be
deminished form the products table.

Any suggestions how I can get this to work?

I found a solution myself by using a temp table and an update querie, but
this is too slow.
Any suggestions?

Wiro
 
K

Kevin @ 3NF

Leave out the temp table and run an update query from code (or call it from
the code). In an application I recently played with, I set this code in the
AfterUpdate event of the Quantity field, but that may not be best for you.

If you have multiple users, you will need to take that into consideration.
 

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