jamespeters01
IS-IT--Management
I am in the middle of creating a quotation database.
My main form is where all the customer details are entered. My problem is with the address details. The Customer name is set as a combo box and the rest of the address is set a text boxes. When a customer (which is already in my table(customer list))is selected the address automatically fill in the text boxes....this works fine....its when a new customer needs to be added, I have the problem. I have set the NOTINLIST to run a macro which opens my "add new customer" form, which works fine. I fill in the new details and close the form which returns me to my main form. The problem I have is because the main form hasn't closed down, it doesn't register the new address that I have added, and keeps sending me (through the NOTINLIST option) to my "add new customer" form. The only way that I can close the main form at the moment is if I select an existing customer, then just close it. Obviously this is not a user friendly way of working this database.
Any help would be gratefully appreciated.
Cheers
My main form is where all the customer details are entered. My problem is with the address details. The Customer name is set as a combo box and the rest of the address is set a text boxes. When a customer (which is already in my table(customer list))is selected the address automatically fill in the text boxes....this works fine....its when a new customer needs to be added, I have the problem. I have set the NOTINLIST to run a macro which opens my "add new customer" form, which works fine. I fill in the new details and close the form which returns me to my main form. The problem I have is because the main form hasn't closed down, it doesn't register the new address that I have added, and keeps sending me (through the NOTINLIST option) to my "add new customer" form. The only way that I can close the main form at the moment is if I select an existing customer, then just close it. Obviously this is not a user friendly way of working this database.
Any help would be gratefully appreciated.
Cheers