In the startup screen, it would check for the employee name (Windows Uer Name) and adds it to a table if it's not there. The table is the basis for a combo box which can be set to list which employee has a given person. How do I use an Insert statement? I'd like to do somehthing like the following
Code:
Me.EmployeeNameBox = StrConv(GetUserName.fOSUserName, vbProperCase)
If DLookUp(Employees, EmployeeTbl, Me.EmployeeNameBox.Value) Then
'Blah
Else
INSERT INTO EmployeeTbl (Employees)
VALUES (Me.EmployeeNameBox.Value)
End If