G
Guest
I have this query
SELECT DSM.MajorDep, Psychotropic.Prescribed
FROM (Info INNER JOIN DSM ON Info.ResId = DSM.ResId) INNER JOIN Psychotropic
ON Info.ResId = Psychotropic.ResId
GROUP BY DSM.MajorDep, Psychotropic.Prescribed, Info.ResId, Info.TodaysDate
HAVING (((DSM.MajorDep)=1) AND ((Info.ResId)=[whichId]) AND
((Info.TodaysDate)=[todaysDate])) OR (((Psychotropic.Prescribed)=1));
It is asking me for the [whichId] and I enter it. But after I enter it I am
not getting asked the [todaysDate] why is this? I cannot figure out why this
is not coming up.
SELECT DSM.MajorDep, Psychotropic.Prescribed
FROM (Info INNER JOIN DSM ON Info.ResId = DSM.ResId) INNER JOIN Psychotropic
ON Info.ResId = Psychotropic.ResId
GROUP BY DSM.MajorDep, Psychotropic.Prescribed, Info.ResId, Info.TodaysDate
HAVING (((DSM.MajorDep)=1) AND ((Info.ResId)=[whichId]) AND
((Info.TodaysDate)=[todaysDate])) OR (((Psychotropic.Prescribed)=1));
It is asking me for the [whichId] and I enter it. But after I enter it I am
not getting asked the [todaysDate] why is this? I cannot figure out why this
is not coming up.