Frustrating because I did this once before a while back but I cannot seem to do it again...
I have a table [CustomerInfo] with customer info: Customer Number, Customer Name, Address, etc. There is no key as this is a linked table, but the Customer Numbers are unique
I have a second table [Notes] for notes about the customer: Note ID (Key), Note Date, Customer Number, Notes
The goal is to have a form where the user can input a customer number which would then populate text boxes with the corresponding customer info, as well as any notes for that customer in a subform. The form would also allow user to add new notes for the customer in the notes subform. It would not change anything in the [CustomerInfo] table.
I know I need to establish a one to many relationship, and I attempted to do this using the lookup wizard and form wizard, but I couldn't get the customer info fields to auto populate. I know I need to create an After Event code, but not sure how to establish which text boxes correspond to the correct column.
Am I on the right track? What else do I need to do?
I have a table [CustomerInfo] with customer info: Customer Number, Customer Name, Address, etc. There is no key as this is a linked table, but the Customer Numbers are unique
I have a second table [Notes] for notes about the customer: Note ID (Key), Note Date, Customer Number, Notes
The goal is to have a form where the user can input a customer number which would then populate text boxes with the corresponding customer info, as well as any notes for that customer in a subform. The form would also allow user to add new notes for the customer in the notes subform. It would not change anything in the [CustomerInfo] table.
I know I need to establish a one to many relationship, and I attempted to do this using the lookup wizard and form wizard, but I couldn't get the customer info fields to auto populate. I know I need to create an After Event code, but not sure how to establish which text boxes correspond to the correct column.
Am I on the right track? What else do I need to do?