Assuming you've defined the list box as having 3 columns, try:
lstActivity.AddItem User!login_Name & ";" & _
User!login_time & ";" & User!login_date
--
Doug Steele, Microsoft Access MVP
(no private e-mails, please)
Brandon Johnson said:
Basically i want to cycle through a tbl and if theres a record thats
checked(yes/no) then i want to throw the contents of the tbl into a
listbox. similar to the line in the loop where it throws only the
login_name in listbox but i want to throw the name, time, and date but
all in diff columns. I hope thats alittle clearer. if not let me know.
thanks for your help/time.
Set User = CurrentDb.OpenRecordset("tblLoginPWD", dbOpenDynaset)
UserCri = "[login_status] = 'yes'"
User.MoveFirst
Do Until User.EOF
If User!login_status = True Then
lstActivity.AddItem User!login_Name '&
User!login_time & User!login_date
End If
User.MoveNext
Loop