validating a stock item

J

jeremy

I have a database which offers deals on stock items.
Whenever a new deal is oofered I want to write a
validation to ensure that the stock item is not sold.

I have a deals table and a stock table linked by stock ID

The code must open the deals table, there will be deals
listed here on a range of stock numbers. I need to check
all deals on each stock number and establish the value of
the [Sold} field in the table row for each one.

If the value shows that the stock item is sold then I will
add a msgBox to say so.

Can't figure the code to establish if the test is true
 

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