
Originally Posted by
grad2009
Hi,
i'm working in a stock database that contains (Items,Stocks,Procurements,Sales,and Transactions) tables, the attached image explains the relationships between the previous tables and the properties of each table, in my database the item can be stored in more than one stock, and the stock can store more than one item, i created two forms, one for procurements and the other for sales.The procurements form contains stockNo field (list of numbers from Stocks table),and itemNo fielld (list of item numbers from the Items table).The Sales form contains form contains stockNo field (list of numbers from Stocks table),and itemNo fielld (list of item numbers from the Items table). If I supposed that i bought to items (1 and 2) and stored them in stocks(1 and 2) respectivly.Now in the Sales form when i choose the stock number 1 from the list then goes to the item list in that form I found all the items No even thoses are not in that stock(No 1) ,now i want to do something to minimize the list of items to include only items that are found in the choosen stock.
i hope that you understand what i mean
pleeease i want your help
thanks with regards,