I have form, frmCallInfo, in which there are several list boxes that are autopopulated with just one value based on the query of a combo box; cboEmployeeName. I chose to use a list box (rather than a text box) because it has the Control Source, Row Source type and Row Source that I needed for each of the list boxes to run the query. The list boxes are txtSupervisor, txtBusinessArea, and txtJobType (each have their own associated table of values to autopopulate from).
When an employee name is selected in cboEmployeeName, the other three list boxes are autopopulated. Ex: Choosing "Joe Blow" from cboEmployeeName populates txtSupervisor with "Lopez", txtBusinessArea with ""Clinical Care", and txtJobType with "Technician". This works fine except that the values that autopopulate to the list boxes are not stored in the master table tblCallInfo.
How do I store this info from each record of the form in the master table? I am sure it requires some code (but I am not saavy enough to be able to write it yet).
When an employee name is selected in cboEmployeeName, the other three list boxes are autopopulated. Ex: Choosing "Joe Blow" from cboEmployeeName populates txtSupervisor with "Lopez", txtBusinessArea with ""Clinical Care", and txtJobType with "Technician". This works fine except that the values that autopopulate to the list boxes are not stored in the master table tblCallInfo.
How do I store this info from each record of the form in the master table? I am sure it requires some code (but I am not saavy enough to be able to write it yet).