S
Stacey Crowhurst
Hi. I have a report based on a query. The value for change orders askes me
to enter the parameter value for change orders when I view the report. The
query works fine by itself and does not give the same error. I'm at my wits
end to figure out why the report is doing it. Here is the query SQL:
SELECT [Q- Contract_Detail 02].[CCP No], [Q- Contract_Detail 02].[PO No],
[Q- Contract_Detail 02].Contract, [Q- Contract_Detail 02].[Vendor Name], [Q-
Contract_Detail 02].[Phase Code], [Q- Contract_Detail 02].[Phase
Description], [Q- Contract_Detail 02].[Cost Code], [Q- Contract_Detail
02].[Cost Code Desc], [Q- Contract_Detail 02].[Contract Fee], [Q-
Contract_Detail 02].[Paid to Date], Nz([Line Amount],0) AS [Change Orders]
FROM [Q- Contract_Detail 02] LEFT JOIN [Q- Contract_Change Orders] ON ([Q-
Contract_Detail 02].[Cost Code] = [Q- Contract_Change Orders].[Cost Code])
AND ([Q- Contract_Detail 02].Contract = [Q- Contract_Change Orders].Contract);
Any help is greatly appreciated!!!
to enter the parameter value for change orders when I view the report. The
query works fine by itself and does not give the same error. I'm at my wits
end to figure out why the report is doing it. Here is the query SQL:
SELECT [Q- Contract_Detail 02].[CCP No], [Q- Contract_Detail 02].[PO No],
[Q- Contract_Detail 02].Contract, [Q- Contract_Detail 02].[Vendor Name], [Q-
Contract_Detail 02].[Phase Code], [Q- Contract_Detail 02].[Phase
Description], [Q- Contract_Detail 02].[Cost Code], [Q- Contract_Detail
02].[Cost Code Desc], [Q- Contract_Detail 02].[Contract Fee], [Q-
Contract_Detail 02].[Paid to Date], Nz([Line Amount],0) AS [Change Orders]
FROM [Q- Contract_Detail 02] LEFT JOIN [Q- Contract_Change Orders] ON ([Q-
Contract_Detail 02].[Cost Code] = [Q- Contract_Change Orders].[Cost Code])
AND ([Q- Contract_Detail 02].Contract = [Q- Contract_Change Orders].Contract);
Any help is greatly appreciated!!!