J
James Down
I have an SQL statement that works in SQL server 2000 but I get a "Join
expression not supported" error when trying it in Access. I think it's got
something to do with the fact I'm selecting from multiple tables and
performing a left join, but I'm not sure.
Any ideas how I can adapt the statement below to work in access?
Cheers for any help given
JD
SELECT
NavNodes_Table.pageID,
PageContent_Table.elementContent,
ContentTypes_Table.contentType,
PageElements_Table.elementName,
PageFiles_Table.fileWidth,
PageFiles_Table.fileHeight,
PageFiles_Table.fileAlt,
PageFiles_Table.fileIDName
FROM
NavNodes_Table,
ContentTypes_Table,
PageElements_Table,
PageContent_Table LEFT JOIN PageFiles_Table
ON
PageContent_Table.contentID = PageFiles_Table.contentID
WHERE
NavNodes_Table.pageID = 1 and
NavNodes_Table.pageID = PageContent_Table.pageID and
PageElements_Table.elementID = PageContent_Table.elementID and
PageElements_Table.contentTypeID = ContentTypes_Table.contentTypeID
expression not supported" error when trying it in Access. I think it's got
something to do with the fact I'm selecting from multiple tables and
performing a left join, but I'm not sure.
Any ideas how I can adapt the statement below to work in access?
Cheers for any help given
JD
SELECT
NavNodes_Table.pageID,
PageContent_Table.elementContent,
ContentTypes_Table.contentType,
PageElements_Table.elementName,
PageFiles_Table.fileWidth,
PageFiles_Table.fileHeight,
PageFiles_Table.fileAlt,
PageFiles_Table.fileIDName
FROM
NavNodes_Table,
ContentTypes_Table,
PageElements_Table,
PageContent_Table LEFT JOIN PageFiles_Table
ON
PageContent_Table.contentID = PageFiles_Table.contentID
WHERE
NavNodes_Table.pageID = 1 and
NavNodes_Table.pageID = PageContent_Table.pageID and
PageElements_Table.elementID = PageContent_Table.elementID and
PageElements_Table.contentTypeID = ContentTypes_Table.contentTypeID