Hello,
I've just started to do pass-through queries in Access and have been having a problem getting the syntax right for SQL statements with inner joins.
Here's an example:
SELECT REPORTER.REPORTER_STATUS.SUMMARY, NETCOOL.JOURNAL.TEXT1, REPORTER.REPORTER_STATUS.CLASS
FROM NETCOOL.JOURNAL INNER JOIN REPORTER.REPORTER_STATUS
ON NETCOOL.JOURNAL.SERIAL = REPORTER.REPORTER_STATUS.SERIAL
WHERE REPORTER.REPORTER_STATUS.CLASS =11000
I get this error:
SQL command not properly ended
I thought it might be because there was no semicolon at the end but I learned early on that in pass-through queries those have to be taken out.
Thanks in advance,
Doug
I've just started to do pass-through queries in Access and have been having a problem getting the syntax right for SQL statements with inner joins.
Here's an example:
SELECT REPORTER.REPORTER_STATUS.SUMMARY, NETCOOL.JOURNAL.TEXT1, REPORTER.REPORTER_STATUS.CLASS
FROM NETCOOL.JOURNAL INNER JOIN REPORTER.REPORTER_STATUS
ON NETCOOL.JOURNAL.SERIAL = REPORTER.REPORTER_STATUS.SERIAL
WHERE REPORTER.REPORTER_STATUS.CLASS =11000
I get this error:
SQL command not properly ended
I thought it might be because there was no semicolon at the end but I learned early on that in pass-through queries those have to be taken out.
Thanks in advance,
Doug