Hi,
I have the following command in my access database
But it errors with
If I remove the ORDER BY Tot , it works fine, why is this happening.
If I run the exact same query direct in the Enterprise Manager console , it executes fine and gives me my desired results, so why won't MS Access run the query?
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
I have the following command in my access database
Code:
SELECT Prod_Provider, COUNT(1) As Tot FROM dbo_Business_Register WHERE (Adv_MemNo = '" & Forms!contacts.[Membership Number] & "') AND (Ins_Lnk IS NULL) GROUP BY Prod_Provider ORDER BY Tot DESC
But it errors with
too few parametes, expected 1
If I remove the ORDER BY Tot , it works fine, why is this happening.
If I run the exact same query direct in the Enterprise Manager console , it executes fine and gives me my desired results, so why won't MS Access run the query?
Thanks,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts