B
Brendan
Hi
It would be great if someone can look at this sql please. The query runs and
brings back the correct data, but every time I run it, I get the error "The
Mic.. Access database engine cannot find the input table or query
'tblReferrals.[Referral Assigned To]'. Make sure it exists...spelled
correctly."
TRANSFORM Count(tblReferrals.ID) AS CountOfID
SELECT tblReferrals.[Referral Assigned To], DCount("tblReferrals.[Service 1]
+ tblReferrals.[Service 2] + tblReferrals.[Service 3] + tblReferrals.[Service
4]","tblReferrals.[Referral Assigned To]","tblReferrals.[Service 1]=True" &
"tblReferrals.[Service 2]=True" & "tblReferrals.[Service 3]=True" &
"tblReferrals.[Service 4]=True")
FROM tblReferrals
GROUP BY tblReferrals.[Referral Assigned To]
PIVOT Format([Referral Assigned Date],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
I have spent lots of time searching for answers. I have checked the spelling
of the name. But it's a mystery to me why it runs but still has the error.
In the results table there is a field created called Expr1 that has no data
in it. Thank you
It would be great if someone can look at this sql please. The query runs and
brings back the correct data, but every time I run it, I get the error "The
Mic.. Access database engine cannot find the input table or query
'tblReferrals.[Referral Assigned To]'. Make sure it exists...spelled
correctly."
TRANSFORM Count(tblReferrals.ID) AS CountOfID
SELECT tblReferrals.[Referral Assigned To], DCount("tblReferrals.[Service 1]
+ tblReferrals.[Service 2] + tblReferrals.[Service 3] + tblReferrals.[Service
4]","tblReferrals.[Referral Assigned To]","tblReferrals.[Service 1]=True" &
"tblReferrals.[Service 2]=True" & "tblReferrals.[Service 3]=True" &
"tblReferrals.[Service 4]=True")
FROM tblReferrals
GROUP BY tblReferrals.[Referral Assigned To]
PIVOT Format([Referral Assigned Date],"mmm") In
("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
I have spent lots of time searching for answers. I have checked the spelling
of the name. But it's a mystery to me why it runs but still has the error.
In the results table there is a field created called Expr1 that has no data
in it. Thank you