P
paulinec
I have a training database and I am trying to get students who have certain
qualifications, eg: a Blue Card and A Dozer Ticket and maybe a Scraper
Ticket. I only want to see those students who have ALL of the required
tickeds
I have tried using the functions that I found on this site:
Function GetToken(stLn, stDelim) and Function InParam(Fld, Param)
I have typed the following SQL statement in a query:
SELECT TBStudentDetails.StudentFirstName, TBStudentDetails.StudentLastName,
TBStudentCompetency.ModuleNo, InParam([ModuleNo],
[Type a list like "CA, NY, NJ"]) AS Expr3
FROM TBStudentDetails INNER JOIN TBStudentCompetency ON
TBStudentDetails.StudentID = TBStudentCompetency.StudentId
WHERE (((InParam([ModuleNo],[Type a list like "CA, NY, NJ"]))=True));
It keeps putting the Expr3 in even though I don't type it in and it isn't
showing any data.
The two samples I am querying on are Students who have the following
qualifications - sometimes it could be students that have three or four
qualifications:
RUAAG1100EOA and RUAAG2101EOA. I just want to be able to type in ag1100 and
ag2101.
Can anyone help me with this. I thought it was easy till I tried to do it.
Pauline C
qualifications, eg: a Blue Card and A Dozer Ticket and maybe a Scraper
Ticket. I only want to see those students who have ALL of the required
tickeds
I have tried using the functions that I found on this site:
Function GetToken(stLn, stDelim) and Function InParam(Fld, Param)
I have typed the following SQL statement in a query:
SELECT TBStudentDetails.StudentFirstName, TBStudentDetails.StudentLastName,
TBStudentCompetency.ModuleNo, InParam([ModuleNo],
[Type a list like "CA, NY, NJ"]) AS Expr3
FROM TBStudentDetails INNER JOIN TBStudentCompetency ON
TBStudentDetails.StudentID = TBStudentCompetency.StudentId
WHERE (((InParam([ModuleNo],[Type a list like "CA, NY, NJ"]))=True));
It keeps putting the Expr3 in even though I don't type it in and it isn't
showing any data.
The two samples I am querying on are Students who have the following
qualifications - sometimes it could be students that have three or four
qualifications:
RUAAG1100EOA and RUAAG2101EOA. I just want to be able to type in ag1100 and
ag2101.
Can anyone help me with this. I thought it was easy till I tried to do it.
Pauline C