Hi there:
I am a bit flummoxed with VFP forms at present.
I have a 'remakes' table with an order number and line as primary key.
I have an 'orders' table with an order number and line as primary key.
I want to create a form based on the remakes table such that, when entering the order number and line, the details of the order number and line from the orders table are displayed. So the remake collects the attributes of the original.
However the form designer does not allow me to join the two keys - the key representing the order number + line is simply not available. I can join the two in the database designer, not the form designer.
All I can think is that the order/line combination in the orders table is a primary key; the order/line combination in the remeakes table is a regular key. I need a separate primary key in remakes - there may be more than 1 remake required for an order line!
Does anybody have any ideas as to how I can create a form where the join is on two field?
Thanks!
I am a bit flummoxed with VFP forms at present.
I have a 'remakes' table with an order number and line as primary key.
I have an 'orders' table with an order number and line as primary key.
I want to create a form based on the remakes table such that, when entering the order number and line, the details of the order number and line from the orders table are displayed. So the remake collects the attributes of the original.
However the form designer does not allow me to join the two keys - the key representing the order number + line is simply not available. I can join the two in the database designer, not the form designer.
All I can think is that the order/line combination in the orders table is a primary key; the order/line combination in the remeakes table is a regular key. I need a separate primary key in remakes - there may be more than 1 remake required for an order line!
Does anybody have any ideas as to how I can create a form where the join is on two field?
Thanks!