debsamguru
Member
- Local time
- Today, 19:51
- Joined
- Oct 24, 2010
- Messages
- 82
Hi, I have an order form which uses the tables CustomerT and OrderHeaderT with a subform for the order details. The Order Form has a combo box to select which supplier the order is from and puts the SupplierID (from the SupplierT) nto the OrderHeaderT.Supplier field. This has all been working fine.
However, I now need to use a couple of fields on the SupplierT to calculate dates on the OrderHeaderT. e.g. the OrderHeaderT.DeliveryDate = OrderHeaderT.RequiredDate - SupplierT.DispatchDays.
I can't use the SupplierT in the original form because until the Supplier has been selected on the form, there is no Suppler to link to. What is the best way to do this?
However, I now need to use a couple of fields on the SupplierT to calculate dates on the OrderHeaderT. e.g. the OrderHeaderT.DeliveryDate = OrderHeaderT.RequiredDate - SupplierT.DispatchDays.
I can't use the SupplierT in the original form because until the Supplier has been selected on the form, there is no Suppler to link to. What is the best way to do this?