J
JIM
Access 2000. I need to create/add to tblWorkOrders from info in two existing
tables tblCustomers and tblBuildings. Relationships are 1 to many
tblCustomers to tblWorkOrders and tblbuildings. The form is related to the
tblWorkOrders which has a combo box which calls tblCustomers. The row source
is:
GetCustomerNameForInvoice
a query used in invoicing.
I want to be able to select a customer in the combo box and the
corresponding buildings related to that customer come up in the subform.
When I select a customer there is nothing in the subform. If form is closed
and reopened the same customer is in the combo box and the subform populates
with the correct buildings. If another customer is selected though the
buildings do not updated and previous building from former customer are still
in the subform.
I read somewhere last night in discussions that the main form must be
related to the master file (1 file in the 1 to many) and any subforms must be
related to one of the many files. How do you suggest this be set up? The
purpose of the form is to create a Work Order Table to print and track Work
Orders.
Thanks, JIM
tables tblCustomers and tblBuildings. Relationships are 1 to many
tblCustomers to tblWorkOrders and tblbuildings. The form is related to the
tblWorkOrders which has a combo box which calls tblCustomers. The row source
is:
GetCustomerNameForInvoice
a query used in invoicing.
I want to be able to select a customer in the combo box and the
corresponding buildings related to that customer come up in the subform.
When I select a customer there is nothing in the subform. If form is closed
and reopened the same customer is in the combo box and the subform populates
with the correct buildings. If another customer is selected though the
buildings do not updated and previous building from former customer are still
in the subform.
I read somewhere last night in discussions that the main form must be
related to the master file (1 file in the 1 to many) and any subforms must be
related to one of the many files. How do you suggest this be set up? The
purpose of the form is to create a Work Order Table to print and track Work
Orders.
Thanks, JIM