Hi guys. I’ve got the following information:
New_Customer_Table
Account Number
Title
Surname
Address
Post-code
Existing_Customer_Table
Account Number
Title
Surname
Address
Post-code
I’d like to produce a form to add new records into the new_customer_table and if the user enters an account number we already hold in the existing_customer_table, for it to populate the form with their information.
I’ve started using the following dlookup connected to a form which should add information into new_customer_table
=DLookUp("[Surname]","[Existing_Customer_Table]","[Account Number] = " & Chr(34) & [Account number] & Chr(34))
This brings the data through perfectly from existing_customer_table and displays it in the text box, however when I submit the record, it doesn’t send it to the new_customer_table as the dlookup removes any link to that table.
I've attached a copy of the database for you guys to have a look
Can anyone suggest a solution?
New_Customer_Table
Account Number
Title
Surname
Address
Post-code
Existing_Customer_Table
Account Number
Title
Surname
Address
Post-code
I’d like to produce a form to add new records into the new_customer_table and if the user enters an account number we already hold in the existing_customer_table, for it to populate the form with their information.
I’ve started using the following dlookup connected to a form which should add information into new_customer_table
=DLookUp("[Surname]","[Existing_Customer_Table]","[Account Number] = " & Chr(34) & [Account number] & Chr(34))
This brings the data through perfectly from existing_customer_table and displays it in the text box, however when I submit the record, it doesn’t send it to the new_customer_table as the dlookup removes any link to that table.
I've attached a copy of the database for you guys to have a look
Can anyone suggest a solution?