I am in Access and I have (A) a passthrough queries=(INMSP300) and (B) table queries=(dbo_ECC_APP.OEM),I want to join. In the dbo_ECC_APP.OEM there are number identifiers that have no associate number were in INMSP300 there are both and they are associated. So I need to have all the number in the INMSP300 showing and only those in the dbo_ECC_APp.OEM matching. I am tying to join the table query and AS400/Acess query by using the Access passthrough query to join together to form a complete new query.
The table is {[em]dbo_ECC_APP.OEM] [/em]and the passthrough query is [[strong]INMSP300[/strong]]. When I try to run the query the error I code below>>
[IBM][System i Access ODBC Drive][DB2 for i5/OS]sql5001. Column qualifier or table dbo_edd_ppp undefined. (#-5001).
What does that mean? At the same time is the SQL statement below adequate for the above to work? Below is the statement.
[strong] Select
[/strong] INMSP300.M3OE# as "OEM_NO", INMSP300.M3OEC as "ComprsOE", INMSP300.M3PRD as "PN", INMSP300.M3CLS as "PrdLine", [strong]dbo_ECC_APP.OEM[/strong]_NO, dbo_ECC_APP.CARDONE_NO, dbo_ECC_APP.OE_FORMER2, dbo_ECC_APP.OE_REPLACED_BY, dbo_ECC_APP.ID_NO, dbo_ECC_APP.RELEASE [strong]From[/strong] RDB CARF1.INMSP300 INMSP300l LEFT join RDB dbo_ECC_APP dbo_ECC_APP, ComprsOE=OEM_N0 [strong]Where[/strong] INMSP300.M3CLS ='78' and INMSP300 is NULL;
Software/Hardware used:
Access 2003, AS400 iSeries, passthrough queries
ASKED:
August 20, 2009 1:44 PM
UPDATED:
August 20, 2009 5:11 PM