hi there,
I have a growing list of shipments. Now they can be sorted in two manners. The form will have 3 drop-down boxes.
First, the user may want to use the top drop-down box which sorts them by distributor and then the bottom drop-down box displays all of the shipments that have that particular distributor for example. Or, the user can use the second drop-down box which has various suppliers of shipments, the user selects a supplier and then again the bottom drop-down box displays all the shipments from that particular supplier.
and then of course, the tab control form contains all of the information linked to the particular shipment that is selected in the bottom drop-down.
my questions are the following:
1. how do i store this? I mean, i assume i have three tables set up - one for the shipments, one for the supplier, and one for the distributor. (They need their own tables cuz the suppliers can exist even if they haven't sent a shipment, and the same for the distributor.)
But do the tables just have regular join relationships?
2. how do i code for the drop-down boxes to do what i want them to do? Is it as simple as a Select Query or will it take some sort of Sql or something?
thank you very much
I have a growing list of shipments. Now they can be sorted in two manners. The form will have 3 drop-down boxes.
First, the user may want to use the top drop-down box which sorts them by distributor and then the bottom drop-down box displays all of the shipments that have that particular distributor for example. Or, the user can use the second drop-down box which has various suppliers of shipments, the user selects a supplier and then again the bottom drop-down box displays all the shipments from that particular supplier.
and then of course, the tab control form contains all of the information linked to the particular shipment that is selected in the bottom drop-down.
my questions are the following:
1. how do i store this? I mean, i assume i have three tables set up - one for the shipments, one for the supplier, and one for the distributor. (They need their own tables cuz the suppliers can exist even if they haven't sent a shipment, and the same for the distributor.)
But do the tables just have regular join relationships?
2. how do i code for the drop-down boxes to do what i want them to do? Is it as simple as a Select Query or will it take some sort of Sql or something?
thank you very much