I have built a database to keep a track of the various items in our
works inventory. To keep track of this information I have a number of
tables, obviously.. they are as follows:
Product Info:-- This holds all the information about the actual
product, for instance the name of it (lipstick for example) who
invented it, what its properties are
Batches Made:-- This is where we store the information about each batch
of the product. It has infor like when it was made, how much was made
and the like
Items made:-- This is where we record that we have turned bulk lipstick
into actual lipstick samples. It records when we made the samples and
how many we make from each batch of bulk
Transactions Out-- This is where we store the information about the
samples we send out to customers. It records how many samples we send,
when we sent them, who we sent them to and so on..
Now, everything is working fine except for ONE query. It is a query
that enables you to see what Transactions Out have been performed on a
particular Product. I have built it as a query with a criteria that
gets its information from a combobox on a form. The combobox gets its
available data directly from the Product Info table. However.. the
query only seems to accept the criteria if one particular product is
chosen in the combobox. If you select that product (which is product ID
1) it works and shows you all the transactions that have been performed
on that particular lipstick. However, if you select a different product
in the combobox, the query refuses to give any results and claims that
the criteria is not being met at all. BUT, if you delete the criteria
completely, then it happily brings up a list of ALL the transactions
for all the products. Why is this happenning?
Cheers for any help you may be able to give...