I currently am setting up a database for a small business. At the moment I am just building the first part to include our client data including a form that has buttons already setup to add record, clear the form, and search the table for a record and then fill the form with the data.
The next step that I am trying to do is add a button that will update the table if the Client ID (primary key) currently exists in the table
Name of the table is ClientInfoTable
Name of the form is ClientInfoForm
the form currently contains bound text boxes for client contact info including one combo box for active/terminated form field name are listed below
ClientID
ClientContactFirstName
ClientContactLastName
PhoneNumber
Address
Combo box = ClientStatus
Any help with the code to add behind the button would be greatly appreciated
*EDIT* Forgot to mention that the ClientID field would always need to remain unedited. I was thinking of using Me.ClientID.Locked = True on the search button and then a False on the clear button but not sure if this is the best solution