Hi
I have a database in which I have one table for master_order_no & another table for sub_order_no & other details. Both the tables are linked by one-to-many relationship from master_order table to sub_order table through the master_order_no.
One master_order_no can have nos of different sub_order_no & any particular sub_order_no can appear in more than one master order. But the combination of master_order_no & sub_order_no makes the record unique.
Now I want to make a table for shipment details of every order (i.e. combination of master & sub order). I would like to key in the sub_order_no by myself & want to have a lookup column for master_order_no in which I want it to show only the list of all the master_order_no which relates to that particular sub_order_no I have keyed in earlier. I would also like to have the first value automatically appear in the field so that I can carry on with it without writing anything if it suits the particular record or else select a different one from the drop down list.
I have tried the lookup wizard & set the look up value to master_order_table/master_order_no but it is showing the complete list of master_order_no.
Any help please....
Thanks
I have a database in which I have one table for master_order_no & another table for sub_order_no & other details. Both the tables are linked by one-to-many relationship from master_order table to sub_order table through the master_order_no.
One master_order_no can have nos of different sub_order_no & any particular sub_order_no can appear in more than one master order. But the combination of master_order_no & sub_order_no makes the record unique.
Now I want to make a table for shipment details of every order (i.e. combination of master & sub order). I would like to key in the sub_order_no by myself & want to have a lookup column for master_order_no in which I want it to show only the list of all the master_order_no which relates to that particular sub_order_no I have keyed in earlier. I would also like to have the first value automatically appear in the field so that I can carry on with it without writing anything if it suits the particular record or else select a different one from the drop down list.
I have tried the lookup wizard & set the look up value to master_order_table/master_order_no but it is showing the complete list of master_order_no.
Any help please....
Thanks