G
Guest
I have a client form where I call via a button a second form showing
personnel at the client's location. Presently, I link via the client's
location and this works fine.
However, I have personnel "affiliated" with other personnel and only desire
to show those affiliated and in that location.
I know I can add a second criteria, can't seem to get it right! Can ya
help? I have tried:
stLinkCriteria = "[Location]=" & "'" & Me![cboLocation] & "'" And
"[PSAffiliatedWith]=" & Me![MasterPS] & "'"
All fields are text boxes.
From the client's form:
cboLocation
MasterPS
From the called location form:
Location
PSAffiliatedWith
I got very confused with the single and double quotes.
personnel at the client's location. Presently, I link via the client's
location and this works fine.
However, I have personnel "affiliated" with other personnel and only desire
to show those affiliated and in that location.
I know I can add a second criteria, can't seem to get it right! Can ya
help? I have tried:
stLinkCriteria = "[Location]=" & "'" & Me![cboLocation] & "'" And
"[PSAffiliatedWith]=" & Me![MasterPS] & "'"
All fields are text boxes.
From the client's form:
cboLocation
MasterPS
From the called location form:
Location
PSAffiliatedWith
I got very confused with the single and double quotes.