I have this query:
SELECT [Process Proposals].BUnit_CostCode, [Process Proposals].[Small Proposal], [Process Proposals].[Business Unit], [Process Proposals].[Business Division], [Process Proposals].[Business Sector], [Process Proposals].[Business SubSector], [Process Proposals].Valid_Box, [Process Proposals].Business_Plant_Type, [Process Proposals].[Cost Code FY 05], [Process Proposals].[FY 05 BUnit], [Process Proposals].[FY 05 BUnit 2nd], [Process Proposals].[FY 05 BUnit 3rd], [Process Proposals].Contract_Type, [Process Proposals].[FY 04 BUnit], [Process Proposals].[Cost Code FY 04], [Process Proposals].[MSCRM NUM], [Process Proposals].CLIENT, [Process Proposals].DESCRIPTION, [Process Proposals].[PROPOSAL MANAGER], [Process Proposals].[PROSPECT STATUS], [Process Proposals].Proposal_Budget, [Process Proposals].[Proposal_Budget_Date Closed], [Process Proposals].Proposal_Budget_Closure_Request_By, [Process Proposals].Scope, [Process Proposals].Pricing_Approval, [Process Proposals].Duration_months, [Process Proposals].Proposal_Office, [Process Proposals].Execution_Office, [Process Proposals].Hours, [Process Proposals].Revenue, [Process Proposals].Royalty, [Process Proposals].[Gross Margin], [Process Proposals].Budget_Cost, [Process Proposals].Original_Budget_Cost, [Process Proposals].Budget_Adj_1_Date_Approved, [Process Proposals].Budget_Adj_1_Amount, [Process Proposals].Budget_Adj_2_Date, [Process Proposals].Budget_Adj_2_Amount, [Process Proposals].Budget_Adj_3_Date, [Process Proposals].Budget_Adj_3_Amount, [Process Proposals].Budget_Adj_4_Date, [Process Proposals].Budget_Adj_4_Amount, [Process Proposals].TIC, [Process Proposals].[Date WO Opened], [Process Proposals].[Proposal Submitted Date], [Process Proposals].ITB_Received, [Process Proposals].PNP_Approved, [Process Proposals].PNP_Approved_Box, [Process Proposals].BNB_Review, [Process Proposals].BNB_Review_Box, [Process Proposals].Bid_Bond_Required, [Process Proposals].Bid_Bond_Received, [Process Proposals].Risk_Review, [Process Proposals].Proposal_Team_Review, [Process Proposals].Business_Line_Review, [Process Proposals].Div_Mgmnt_Review, [Process Proposals].Corp_Mgmnt_Review, [Process Proposals].Tech_Proposal_Due, [Process Proposals].Comm_Proposal_Due, [Process Proposals].Bid_Validity, [Process Proposals].Bid_Validity_Expires, [Process Proposals].Award_Date, [Process Proposals].[JIF Date], [Process Proposals].Job_Number, [Process Proposals].BNB_Required, [Process Proposals].Risk_Review_Reporting, [Process Proposals].Outcome, [Process Proposals].Archive, [Combined Currency Converted Statistics Query].As_Of, [Combined Currency Converted Statistics Query].[Proposal No], [Combined Currency Converted Statistics Query].[SumOfTotal Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Actual $ Converted], [Combined Currency Converted Statistics Query].[SumOfExpense Actual $ Converted], [Combined Currency Converted Statistics Query].[SumOfExpense Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Labor Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Labor Actual $ Converted], [Combined Currency Converted Statistics Query].[2008 Fiscal Year Activity], [Combined Currency Converted Statistics Query].[Total Budget Remaining], [Process Proposals].Lump_Sum, [Process Proposals].Comments, [Process Proposals].Admin_Comments, [Process Proposals].[Converted From Small Proposal], [Process Proposals].[Licensing Fee], [Combined Currency Converted Statistics Query].[Total MHR Remaining], [Combined Currency Converted Statistics Query].[SumOfTotal Budget MHR], [Combined Currency Converted Statistics Query].[SumOfTotal Actual MHR]
FROM [Process Proposals] INNER JOIN [Combined Currency Converted Statistics Query] ON [Process Proposals].[Cost Code FY 05] = [Combined Currency Converted Statistics Query].[Proposal No]
WHERE ((([Process Proposals].[Date WO Opened]) Is Null Or ([Process Proposals].[Date WO Opened]) Between #9/1/2007# And #8/31/2008#) AND (([Combined Currency Converted Statistics Query].[2008 Fiscal Year Activity]) Is Not Null))
I need to Group it by the [Process Proposals].[Cost Code FY 05] Field.
I cannot figure out how to do this with out an error?
SELECT [Process Proposals].BUnit_CostCode, [Process Proposals].[Small Proposal], [Process Proposals].[Business Unit], [Process Proposals].[Business Division], [Process Proposals].[Business Sector], [Process Proposals].[Business SubSector], [Process Proposals].Valid_Box, [Process Proposals].Business_Plant_Type, [Process Proposals].[Cost Code FY 05], [Process Proposals].[FY 05 BUnit], [Process Proposals].[FY 05 BUnit 2nd], [Process Proposals].[FY 05 BUnit 3rd], [Process Proposals].Contract_Type, [Process Proposals].[FY 04 BUnit], [Process Proposals].[Cost Code FY 04], [Process Proposals].[MSCRM NUM], [Process Proposals].CLIENT, [Process Proposals].DESCRIPTION, [Process Proposals].[PROPOSAL MANAGER], [Process Proposals].[PROSPECT STATUS], [Process Proposals].Proposal_Budget, [Process Proposals].[Proposal_Budget_Date Closed], [Process Proposals].Proposal_Budget_Closure_Request_By, [Process Proposals].Scope, [Process Proposals].Pricing_Approval, [Process Proposals].Duration_months, [Process Proposals].Proposal_Office, [Process Proposals].Execution_Office, [Process Proposals].Hours, [Process Proposals].Revenue, [Process Proposals].Royalty, [Process Proposals].[Gross Margin], [Process Proposals].Budget_Cost, [Process Proposals].Original_Budget_Cost, [Process Proposals].Budget_Adj_1_Date_Approved, [Process Proposals].Budget_Adj_1_Amount, [Process Proposals].Budget_Adj_2_Date, [Process Proposals].Budget_Adj_2_Amount, [Process Proposals].Budget_Adj_3_Date, [Process Proposals].Budget_Adj_3_Amount, [Process Proposals].Budget_Adj_4_Date, [Process Proposals].Budget_Adj_4_Amount, [Process Proposals].TIC, [Process Proposals].[Date WO Opened], [Process Proposals].[Proposal Submitted Date], [Process Proposals].ITB_Received, [Process Proposals].PNP_Approved, [Process Proposals].PNP_Approved_Box, [Process Proposals].BNB_Review, [Process Proposals].BNB_Review_Box, [Process Proposals].Bid_Bond_Required, [Process Proposals].Bid_Bond_Received, [Process Proposals].Risk_Review, [Process Proposals].Proposal_Team_Review, [Process Proposals].Business_Line_Review, [Process Proposals].Div_Mgmnt_Review, [Process Proposals].Corp_Mgmnt_Review, [Process Proposals].Tech_Proposal_Due, [Process Proposals].Comm_Proposal_Due, [Process Proposals].Bid_Validity, [Process Proposals].Bid_Validity_Expires, [Process Proposals].Award_Date, [Process Proposals].[JIF Date], [Process Proposals].Job_Number, [Process Proposals].BNB_Required, [Process Proposals].Risk_Review_Reporting, [Process Proposals].Outcome, [Process Proposals].Archive, [Combined Currency Converted Statistics Query].As_Of, [Combined Currency Converted Statistics Query].[Proposal No], [Combined Currency Converted Statistics Query].[SumOfTotal Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Actual $ Converted], [Combined Currency Converted Statistics Query].[SumOfExpense Actual $ Converted], [Combined Currency Converted Statistics Query].[SumOfExpense Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Labor Budget $ Converted], [Combined Currency Converted Statistics Query].[SumOfTotal Labor Actual $ Converted], [Combined Currency Converted Statistics Query].[2008 Fiscal Year Activity], [Combined Currency Converted Statistics Query].[Total Budget Remaining], [Process Proposals].Lump_Sum, [Process Proposals].Comments, [Process Proposals].Admin_Comments, [Process Proposals].[Converted From Small Proposal], [Process Proposals].[Licensing Fee], [Combined Currency Converted Statistics Query].[Total MHR Remaining], [Combined Currency Converted Statistics Query].[SumOfTotal Budget MHR], [Combined Currency Converted Statistics Query].[SumOfTotal Actual MHR]
FROM [Process Proposals] INNER JOIN [Combined Currency Converted Statistics Query] ON [Process Proposals].[Cost Code FY 05] = [Combined Currency Converted Statistics Query].[Proposal No]
WHERE ((([Process Proposals].[Date WO Opened]) Is Null Or ([Process Proposals].[Date WO Opened]) Between #9/1/2007# And #8/31/2008#) AND (([Combined Currency Converted Statistics Query].[2008 Fiscal Year Activity]) Is Not Null))
I need to Group it by the [Process Proposals].[Cost Code FY 05] Field.
I cannot figure out how to do this with out an error?