G
Guest
Using Access 2003 SP2
I am being wrongfully prompted for a value in a Select statement.
Heres what i'm doing:
A Select Query with an INNER JOIN and a subquery, prompts for the value of
one of the Select fields. I click OK and it resumes.
It prompts for the second item: Process.CompanyName, which also appears in
the ORDER BY clause.
I cant understand why I get the prompt? Does it have something to do with
ORDER BY?
Here is my query:
SELECT
PROCESS.CustomerID, PROCESS.CompanyName, ALLUSERSREPORT.USERFIRSTNAME,
ALLUSERSREPORT.USERLASTNAME, ALLUSERSREPORT.INCLUDEONREPORT,
ALLUSERSREPORT.NEVERINCLUDE
FROM
PROCESS INNER JOIN ALLUSERSREPORT
ON PROCESS.CustomerID = ALLUSERSREPORT.ENTKEY
WHERE (((PROCESS.CustomerID) Not In (SELECT ENTKEY FROM ALLUSERSREPORT WHERE
INCLUDEONREPORT = TRUE)))
ORDER BY PROCESS.CompanyName;
I am being wrongfully prompted for a value in a Select statement.
Heres what i'm doing:
A Select Query with an INNER JOIN and a subquery, prompts for the value of
one of the Select fields. I click OK and it resumes.
It prompts for the second item: Process.CompanyName, which also appears in
the ORDER BY clause.
I cant understand why I get the prompt? Does it have something to do with
ORDER BY?
Here is my query:
SELECT
PROCESS.CustomerID, PROCESS.CompanyName, ALLUSERSREPORT.USERFIRSTNAME,
ALLUSERSREPORT.USERLASTNAME, ALLUSERSREPORT.INCLUDEONREPORT,
ALLUSERSREPORT.NEVERINCLUDE
FROM
PROCESS INNER JOIN ALLUSERSREPORT
ON PROCESS.CustomerID = ALLUSERSREPORT.ENTKEY
WHERE (((PROCESS.CustomerID) Not In (SELECT ENTKEY FROM ALLUSERSREPORT WHERE
INCLUDEONREPORT = TRUE)))
ORDER BY PROCESS.CompanyName;