Step 3: Create Necessary Forms
Our simple customer contacts application will require three forms:
-
frmCustomerUsed to display a list of customer names to the user; contains a list box (lbCustomers) and a button (btnSelect).
-
frmCustomerDetailUsed to display the details of a specific customer; contains a list of labels and associated text boxes (for customer name, company, email, address, city, state, and sales rep information) along with a button (btnDetailBack) for returning to frmCustomer.
-
frmErrorUsed to display a basic error to the user if the database cannot be found or if a record doesn't exist.