I would like to populate cboAssigned with the UserFullName value taken from a SELECT statement. I'm trying to populate the combo box so only assigned records are filtered on a form when a user opens the database. Do I run the SQL statement first or can i just run it directly to the code. I'm not sure how to code this though. Thanks.
Code:
Me.cboAssigned = "SELECT tblUsers.UserFullName " & _
"FROM tblUsers " & _
"WHERE tblUsers.UserName='" & fOSUserName & "' "