B
bob engler
I have a form with a combobox with EmployeeLastName,EmployeeFirstName which
are 2 fields from table
Employee. My code is
Private Sub Combo31_Click()
Dim rs As Object
Set rs = Me.Recordset.Clone
n = split(Me.Combo31.Value, ",")
rs.FindFirst "[EmployeeLastName] = " & n(0) - n(0) has the correct name in
it but gives a runtime error -"The Microsoft Jet database engine does not
recognize 'Hill' as a valid field name or expression" where Hill is the last
name of the employee. I would really
like the code to find the correct LAstName and FirstName selected as we have
several with the same last name.
Thanks.....
are 2 fields from table
Employee. My code is
Private Sub Combo31_Click()
Dim rs As Object
Set rs = Me.Recordset.Clone
n = split(Me.Combo31.Value, ",")
rs.FindFirst "[EmployeeLastName] = " & n(0) - n(0) has the correct name in
it but gives a runtime error -"The Microsoft Jet database engine does not
recognize 'Hill' as a valid field name or expression" where Hill is the last
name of the employee. I would really
like the code to find the correct LAstName and FirstName selected as we have
several with the same last name.
Thanks.....