I have a firstname and lastname field in an Access DB. I pull a record set and then populate a combo box with it. I have done this before with one field, but never two and I can't seem to figure this one out. Heres my code. This just gives me the first name in the combo and not the last name. Thanks for any help!!!
If rsremove.BOF = False Then
rsremove.MoveFirst
End If
With rsremove
If .EOF = True Then
names.Text = ""
Else
Do Until .EOF
names.AddItem !Firstname & Lastname
rsremove.MoveNext
Loop
End If
End With
If rsremove.BOF = False Then
rsremove.MoveFirst
End If
With rsremove
If .EOF = True Then
names.Text = ""
Else
Do Until .EOF
names.AddItem !Firstname & Lastname
rsremove.MoveNext
Loop
End If
End With