Hello all,
I'm struggling to find answer online, perhaps not asking right question.
In one of my forms I use Alan Browne's filtering code
http://allenbrowne.com/ser-62code.html
This shows all records with specific user:
I want to show all records for a group of users.
In table T_user i have UserID, UserName, UserResource, where rescue is a yes/no field.
in standard SQL query this would work:
I can't work out how to translate it into vba.
Can anyone advice please.
Thank you
I'm struggling to find answer online, perhaps not asking right question.
In one of my forms I use Alan Browne's filtering code
http://allenbrowne.com/ser-62code.html
This shows all records with specific user:
Code:
If Not IsNull(Me.cboUser) Then
strWhere = strWhere & "([tUserFK] = """ & Me.cboUser & """) AND "
End If
I want to show all records for a group of users.
In table T_user i have UserID, UserName, UserResource, where rescue is a yes/no field.
in standard SQL query this would work:
Code:
...
WHERE (UserResource=True)
...
I can't work out how to translate it into vba.
Can anyone advice please.
Thank you