OK I have form FOrders from table Torders
has orderID, refshipper. refconsignee, etc...
i have made combo boxes for the field refshipper and refconsignee
both refer to my table tcustomers.
My orders are made on a 3rd party basis
A shipper today can be a consignee tomorrow
Therefore I'd like to have them all drawn from my Table TCustomers.
Now it works fine as a form. I can select them from the same table.
Where I have an issue is when I want to print my order. I open a report from a query. That query called QOrders. If I want to print on the report with the address listed for both my shipper and my consignee from 2 different records on the table Tcustomers, it will return the same address because I'm asking the query to return the field "address" from TCustomers. Then If I make a txt field on the report and tells it to return the field address from the query, it doesnt know for which record.
Is there anyway to work around that?
My only option for now is to create a table called TConsignee with the same data as TCustomers. Only when I save new data on one table how can it save it also on the other. Can a table auto copy itself on to another evertytime it is updated?
Thanks for your help
has orderID, refshipper. refconsignee, etc...
i have made combo boxes for the field refshipper and refconsignee
both refer to my table tcustomers.
My orders are made on a 3rd party basis
A shipper today can be a consignee tomorrow
Therefore I'd like to have them all drawn from my Table TCustomers.
Now it works fine as a form. I can select them from the same table.
Where I have an issue is when I want to print my order. I open a report from a query. That query called QOrders. If I want to print on the report with the address listed for both my shipper and my consignee from 2 different records on the table Tcustomers, it will return the same address because I'm asking the query to return the field "address" from TCustomers. Then If I make a txt field on the report and tells it to return the field address from the query, it doesnt know for which record.
Is there anyway to work around that?
My only option for now is to create a table called TConsignee with the same data as TCustomers. Only when I save new data on one table how can it save it also on the other. Can a table auto copy itself on to another evertytime it is updated?
Thanks for your help