Uldis007
New member
- Local time
- Today, 16:03
- Joined
- Nov 17, 2021
- Messages
- 22
Hello everyone!
I need your help!
I have an order form where I can select an already registered customer from the drop-down list, but if the customer is not on the list, I can open the customer registration form and add a new customer via the order form. Customer table columns are indexed to avoid duplicates. If an existing customer is entered, I get a 3022 error and using On Error Go To access display a message that such a client is already registered.
Is it possible to find out the ID of this existing customer in any way so that when closing the customer registration form, this existing customer will appear in the corresponding fields of the application form?
I need your help!
I have an order form where I can select an already registered customer from the drop-down list, but if the customer is not on the list, I can open the customer registration form and add a new customer via the order form. Customer table columns are indexed to avoid duplicates. If an existing customer is entered, I get a 3022 error and using On Error Go To access display a message that such a client is already registered.
Is it possible to find out the ID of this existing customer in any way so that when closing the customer registration form, this existing customer will appear in the corresponding fields of the application form?