filtering in a list box?

G

Guest

i am making a meat distribution database. In the order form i have a
dropdown list of all the weights in my warehouse. how do i make the dropdown
list show only the meat that hasnt already been odered by other customers???

Should i use a combo box??

thnx in adv
 
G

Guest

you can simply use the Find Unmatched Query Wizard to select the product that
is not ben sold to the customer with criteria of your customer name from a
TextBox or ComboBox from your form. open the the query in SQL view and copy
the SQL syntax to the RowSource of your ComboBox or ListBox. Every time you
update the ComboBox or ListBox try to refresh the list containing the list of
unsold product,

hope i answered you problem,,
 
G

Guest

Hi thanx for advice. I went onto the unmatch query and when i went to choose
the weights the actual field wasnt part of the list from my weight list. And
in my order form the customers can each have up to 5 peices of meat (orders)
so will that be a problem in matching them to the list of weight in another
table? Can i overcome the second problem by using an 'or' statement?

Thax in adv
 

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

Similar Threads

Combo box and Select all 1
Updating Tables within Forms 3
Inventory/Sales/Warehouses 6
Multi-query filters 17
filtered lists in more than one form 5
Filtering a combo box... 2
Combo Box Font Size 2
Combo boxes 3

Top