fat controller
Slightly round the bend..
- Local time
- Today, 14:17
- Joined
- Apr 14, 2011
- Messages
- 758
I have a form where customer details are required, and have arrived at the conclusion that I am best keeping those details in their own table - please correct me if I am wrong in my thinking?
Assuming this, when a new record is created, the user will be able to use a combo box to find the customer (probably with surname being the bound column), and upon selection the after update event will populate other text boxes on the form - - no problem so far.
Now, my question comes as to how a new customer is handled - if the customer doesn't appear in the list, how best to handle adding them? Am I best to have a 'new customer' button that opens a pop-up form and allows the user to enter their info. or do I have the main form append the table?
The latter would suit best I think, but how do I ensure that all fields (surname, forename, title, address, postcode and email address) are all appended back to the table, and are appended back to the right record?
Assuming this, when a new record is created, the user will be able to use a combo box to find the customer (probably with surname being the bound column), and upon selection the after update event will populate other text boxes on the form - - no problem so far.
Now, my question comes as to how a new customer is handled - if the customer doesn't appear in the list, how best to handle adding them? Am I best to have a 'new customer' button that opens a pop-up form and allows the user to enter their info. or do I have the main form append the table?
The latter would suit best I think, but how do I ensure that all fields (surname, forename, title, address, postcode and email address) are all appended back to the table, and are appended back to the right record?