sub5
Programmer
- Oct 12, 2005
- 104
Hi all,
I currently have a DBase with several tables that are cross referenced with a series of autonumber IDs. It is more complex than this but to illustrate the principle:
tblCustomer has an CustID field and a CustName field.
tblOrders has an OrderID field and a OrderName field.
My user fills in a series of unbound text boxes on a form which includes both the customer and order details.
They input two new customers which both have the same order. They click update.
Code creates two new records in tblCustomer. It also puts the new customer's CustID's into tblTempCustID as two records. The code then accesses tblOrders, adds two order records using the CustID's stored in the tblTempCustID.
Does anyone have any comments on the upsides / downsides / recommendations to creating a multidimensional array to use in the process instead of the tblTempCustID?
I currently have a DBase with several tables that are cross referenced with a series of autonumber IDs. It is more complex than this but to illustrate the principle:
tblCustomer has an CustID field and a CustName field.
tblOrders has an OrderID field and a OrderName field.
My user fills in a series of unbound text boxes on a form which includes both the customer and order details.
They input two new customers which both have the same order. They click update.
Code creates two new records in tblCustomer. It also puts the new customer's CustID's into tblTempCustID as two records. The code then accesses tblOrders, adds two order records using the CustID's stored in the tblTempCustID.
Does anyone have any comments on the upsides / downsides / recommendations to creating a multidimensional array to use in the process instead of the tblTempCustID?