I've written several successful queries but this one continues to trouble me.
When I run it it tells me "JOIN expression not supported" and highlights
on the first join.
Ordinarily I would then enclose
in the first join and the problem is taken care of. For whatever reason when I do this, access crashes. Any suggestions as to how I might get this query to run?
Code:
SELECT
[CMSJUVQ].[JVKEY] AS INCIDENT,
[CMSCHRG].[CRCIT#] AS CITATION,
[CMSCOURT].[CCTIME] AS TIME
FROM
((([CMSJUVQ]
left join [CMSCHRG] on (([CMSJUVQ].[JVKEY] = [CMSCHRG].[CARRKY]) and ([CMSJUVQ].[JVSEQ#] = [CMSCHRG].[CPERS#])) and ([CMSCHRG].[CSOURC] = 4))
left join [CMSNAME] on ((([CMSJUVQ].[JVKEY] = [CMSNAME].[NAMKEY]) and ([CMSNAME].[NASRCD] = 4)) and ([CMSNAME].[NAMTYP] = 20)) and ([CMSJUVQ].[JVSEQ#] = [CMSNAME].[NAPSQ#]))
left join [CMSCOURT] on (([CMSNAME].[NAMKEY] = [CMSCOURT].[CCASE]) and ([CMSNAME].[NASRCD] = [CMSCOURT].[CSRC])) and ([CMSNAME].[NAPSQ#] = [CMSCOURT].[CSEQ1]))
WHERE (([CMSCHRG].[CRCIT#] = '086138137') and ([CMSCHRG].[CSOURC] = 4));
Code:
[CMSCHRG].[CSOURC] = 4
Ordinarily I would then enclose
Code:
(([CMSJUVQ].[JVKEY] = [CMSCHRG].[CARRKY]) and ([CMSJUVQ].[JVSEQ#] = [CMSCHRG].[CPERS#])) and ([CMSCHRG].[CSOURC] = 4))