First, I am using Access 2003. I have two tables: Customer and Order, linked on Customer_ID.
I have 2 forms: Customer Form (Parent) that is linked to the Order Form (Child). I used the wizard to link the two forms since I dont know the VBA code too well. The wizard gives me the button which jumps from the Parent form to the Child form and everything works fine. However, on both forms I have the Customer_ID, which is autopopulated on the Parent form, but when I jump over to the Child form, it does not populate the Customer_ID in that field. I have both fields in each table, and it is the foreign key in the Orders table, so how can I get it to populate once I jump over. As of now, on the Child form, I am using a combo box to look up all the customers in the customer table, then when you select the customer, it populates their Customer_ID in the field. How can I get it to populate when I go from the Parent form to the Child form??? Any help would be great! Thanks.
CM
I have 2 forms: Customer Form (Parent) that is linked to the Order Form (Child). I used the wizard to link the two forms since I dont know the VBA code too well. The wizard gives me the button which jumps from the Parent form to the Child form and everything works fine. However, on both forms I have the Customer_ID, which is autopopulated on the Parent form, but when I jump over to the Child form, it does not populate the Customer_ID in that field. I have both fields in each table, and it is the foreign key in the Orders table, so how can I get it to populate once I jump over. As of now, on the Child form, I am using a combo box to look up all the customers in the customer table, then when you select the customer, it populates their Customer_ID in the field. How can I get it to populate when I go from the Parent form to the Child form??? Any help would be great! Thanks.
CM