I have the following Cross Tab Query, and it prompts me for the two dates and company name but i'm getting the following error when i try to run it: "The expression is typed incorrectly or is too complex to be evaluated"...Any help????Thanks!
PARAMETERS [Forms]![Cancellations By Tier]![BeginningDate] DateTime, [Forms]![Cancellations By Tier]![EndingDate] DateTime, [Forms]![Cancellations By Tier]![cboInsuranceCompany] Value;
TRANSFORM Sum(qryTierBreakdown.Tier) AS SumOfTier
SELECT qryTierBreakdown.[Effective Date], qryTierBreakdown.[Insurance Company]
FROM qryTierBreakdown
WHERE (((qryTierBreakdown.[Effective Date]) Between [Forms]![Cancellations By Tier]![BeginningDate] And [Forms]![Cancellations By Tier]![EndingDate]) AND ((qryTierBreakdown.[Insurance Company])=[Forms]![Cancellations By Tier]![cboInsuranceCompany]))
GROUP BY qryTierBreakdown.[Effective Date], qryTierBreakdown.[Insurance Company]
PIVOT qryTierBreakdown.[Co/Assoc];
PARAMETERS [Forms]![Cancellations By Tier]![BeginningDate] DateTime, [Forms]![Cancellations By Tier]![EndingDate] DateTime, [Forms]![Cancellations By Tier]![cboInsuranceCompany] Value;
TRANSFORM Sum(qryTierBreakdown.Tier) AS SumOfTier
SELECT qryTierBreakdown.[Effective Date], qryTierBreakdown.[Insurance Company]
FROM qryTierBreakdown
WHERE (((qryTierBreakdown.[Effective Date]) Between [Forms]![Cancellations By Tier]![BeginningDate] And [Forms]![Cancellations By Tier]![EndingDate]) AND ((qryTierBreakdown.[Insurance Company])=[Forms]![Cancellations By Tier]![cboInsuranceCompany]))
GROUP BY qryTierBreakdown.[Effective Date], qryTierBreakdown.[Insurance Company]
PIVOT qryTierBreakdown.[Co/Assoc];