S
Scuda
Hi All, I hope I can describe this correct.
I have a Select Query, which I am trying to query by Controller. The
Controller field in my table is a lookup from another table.(tblDutyRoster)
The query does not work when I enter a name, but I just found out it works
when I put that persons ControllerID number in.
What am I doing wrong?? Here is my sql for the query:
SELECT tblSENEIncidentLogCY.MISLE_Number, tblSENEIncidentLogCY.IncidentID,
tblSENEIncidentLogCY.[SENE_CASE_#], tblSENEIncidentLogCY.MONTH,
tblSENEIncidentLogCY.DAY, tblSENEIncidentLogCY.FY, tblSENEIncidentLogCY.[Case
Description], tblSENEIncidentLogCY.[NATURE OF DISTRESS],
tblSENEIncidentLogCY.CONTROLLER
FROM tblSENEIncidentLogCY
WHERE (((tblSENEIncidentLogCY.CONTROLLER) Like "*" & [enter Controller Name
or partial] & "*"));
Thanks in advance!
Steph
I have a Select Query, which I am trying to query by Controller. The
Controller field in my table is a lookup from another table.(tblDutyRoster)
The query does not work when I enter a name, but I just found out it works
when I put that persons ControllerID number in.
What am I doing wrong?? Here is my sql for the query:
SELECT tblSENEIncidentLogCY.MISLE_Number, tblSENEIncidentLogCY.IncidentID,
tblSENEIncidentLogCY.[SENE_CASE_#], tblSENEIncidentLogCY.MONTH,
tblSENEIncidentLogCY.DAY, tblSENEIncidentLogCY.FY, tblSENEIncidentLogCY.[Case
Description], tblSENEIncidentLogCY.[NATURE OF DISTRESS],
tblSENEIncidentLogCY.CONTROLLER
FROM tblSENEIncidentLogCY
WHERE (((tblSENEIncidentLogCY.CONTROLLER) Like "*" & [enter Controller Name
or partial] & "*"));
Thanks in advance!
Steph