473,387 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Join expression not supported

Hi All,
I tried to run the attached query in MS-Access but its giving error "Join expression not supported" I am unable to find the cause of it till now, please try to find the same and help me.

access query ----------------------------------------

SELECT
dbo_CAS_CLM_MAST_TB.TRACKING_NO AS [Tracking #],
dbo_CAS_CLM_MAST_TB.ACCOUNT_NO AS [Account #],
dbo_CAS_CLM_MAST_TB.FOLLOW_UP_DT AS [Follow Up Date],
dbo_CLM_COMMENT_TB.COMMENT_TX,
dbo_OPER_PROFILE_TB.FORMAL_NA AS [Formal Name],
dbo_GLOBAL_TYPE_TB.TYPE_DESC_TX AS [File Status],
dbo_CAS_CLM_TPA_TB.LAST_UPDATE_DT AS [Last Updated Date],
dbo_CAS_CLM_MAST_TB.LENDER_ID AS [Lender Id],
dbo_CAS_LENDER_TB.COMPANY_NA AS Lender,
dbo_CAS_CLM_MAST_TB.LOSS_DT AS [Date of Loss],
dbo_CAS_CLM_MAST_TB.DATE_REPORTED_DT AS [Date of Report],
dbo_INV_PARTY_TB.LAST_NA AS [Borrower Last Name],
dbo_INV_PARTY_TB.FIRST_NA AS [Borrower First Name],
dbo_CAS_CLM_MAST_TB.SETTLEMENT_AM AS [Settlement Amount],
dbo_CAS_CLM_MAST_TB.PRODUCER_CD AS Producer,
dbo_CAS_CLM_MAST_TB.REP_COMPLETED_IN,
dbo_CAS_CLM_MAST_TB.DATE_CLOSED_DT,
dbo_OPER_PROFILE_TB.OFFICE_CD AS Office
FROM (((((dbo_CAS_CLM_MAST_TB RIGHT JOIN dbo_CAS_CLM_TPA_TB
ON dbo_CAS_CLM_MAST_TB.TRACKING_NO = dbo_CAS_CLM_TPA_TB.TRACKING_NO)
LEFT JOIN dbo_GLOBAL_TYPE_TB
ON dbo_CAS_CLM_TPA_TB.FILE_STATUS_CD = dbo_GLOBAL_TYPE_TB.TYPE_CD)
LEFT JOIN dbo_CAS_LENDER_TB
ON dbo_CAS_CLM_MAST_TB.LENDER_ID = dbo_CAS_LENDER_TB.LENDER_ID)
LEFT JOIN (dbo_OPER_PROFILE_TB
RIGHT JOIN dbo_OPER_FOLDER_TB ON dbo_OPER_PROFILE_TB.OPER_ID = dbo_OPER_FOLDER_TB.OPER_ID)
ON dbo_CAS_CLM_TPA_TB.TRACKING_NO = dbo_OPER_FOLDER_TB.TRACKING_NO)
LEFT JOIN dbo_INV_PARTY_TB ON dbo_CAS_CLM_MAST_TB.TRACKING_NO = dbo_INV_PARTY_TB.TRACKING_NO)
INNER JOIN dbo_CLM_COMMENT_TB ON dbo_CAS_CLM_MAST_TB.TRACKING_NO = dbo_CLM_COMMENT_TB.TRACKING_NO
WHERE (((dbo_CAS_CLM_MAST_TB.REP_COMPLETED_IN)
Is Null Or (dbo_CAS_CLM_MAST_TB.REP_COMPLETED_IN)<>"Y")
AND ((dbo_CAS_CLM_MAST_TB.DATE_CLOSED_DT)=#1/1/1900# Or
(dbo_CAS_CLM_MAST_TB.DATE_CLOSED_DT)>#1/1/2003#)
AND ((dbo_OPER_PROFILE_TB.DIVISION_CD)="CASU")
AND ((dbo_CAS_CLM_MAST_TB.STATUS_CD)="ACT")
AND ((dbo_GLOBAL_TYPE_TB.GLOBAL_TYPE_CD)="TPS")
AND ((dbo_OPER_PROFILE_TB.APP_CD)="CRV")
AND ((dbo_OPER_FOLDER_TB.ROLE_CD)="CR"
Or (dbo_OPER_FOLDER_TB.ROLE_CD)="CRS")
AND ((dbo_INV_PARTY_TB.INV_PARTY_ROLE_CD)="BRWR"));
Oct 26 '06 #1
3 7962
Killer42
8,435 Expert 8TB
Have you carefully counted your parentheses?
Oct 26 '06 #2
Once you put a right join in the mix it starts getting picky. If you change all your lefts to rights then it should be good. just make sure you are getting the data you want. :-)
Oct 26 '06 #3
MMcCarthy
14,534 Expert Mod 8TB
You cannot mix up joins like this it doesn't make any sense.

All joins must go in the same direction.

You could try creating a query of right joined tables first.

Then create a query of left joined tables.

You could then try to put them together using a union query.

Select * from query1
Union
Select * from query2;
Oct 27 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Allan | last post by:
Please help, below is my problem. Let's say I have 2 tables, a Products table and a Colors table that go as follow: Table Products prodID Name 1 shirt 2 tshirt
7
by: steve | last post by:
Can you join two tables across different servers in mySQL, or am I dreaming of Oracle? -- Posted using the http://www.dbforumz.com interface, at author's request Articles individually checked...
12
by: Phil Powell | last post by:
<cfquery name="getAll" datasource="#request.dsn#"> SELECT U.userID, U.fname, U.lname, U.phone, U.lastLoggedIn, U.choiceId, U.experience, T.label AS teamLabel, R.label AS roleLabel FROM User U...
9
by: Mike Bridge | last post by:
I am using MS Access 2003, and I typed in a query in SQL view which was working fine. Now when I open it, it gives me the error "Join expression not supported". Apparently, Access "fixed" it for...
5
by: Eitan M | last post by:
Hello, How can I do outer join in ms-access database ? Thanks :)
6
by: PW | last post by:
I've created an ASP application which uses an Access database. I've created an outer join query, but for some reason the "Property_Def" column is not aligning with the "ESPN" column. They should...
4
by: phytorion | last post by:
i'm working in access2003 trying to bring three large tables(sys_sysobjects, sys_syscolumns, and dbo_pskeydefn) into one table filtered on by fieldname of a fourth table(table_name_master) ...
3
by: janko.klemensek | last post by:
Hello. In the following query: SELECT tblDokumentiDetails.ID_Artikel, - tblDokumentiDetails.Kolicina AS Kolicina FROM (tblDokumenti INNER JOIN tblDokumentiDetails ON tblDokumenti.ID_Dokument...
4
by: markcarroll | last post by:
Right now I have the following SQL query inside of an access database: It works, but it runs VERY slowly. I figure I could speed it up if I could inculde the WHERE conditions as part of of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.