Hi All,
I have a user which is complaining about the above error inconsistently when trying to key in start and end date parameters to generate a report. The date range can be for a month, three months or a 6 month span. Sometimes the report will run successfully and sometimes not. Here complete error message…
“This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables.”
OS: 2000/XP
Access version: 2002
Also here is the SQL view. Any help on this would be great!
SELECT qryNewRegistrantsByRange.RegDate, qryNewRegistrantsByRange.ReActDate, qryNewRegistrantsByRange.Live, qryNewRegistrantsByRange.Surname, qryNewRegistrantsByRange.Othernames, qryNewRegistrantsByRange.Age, qryNewRegistrantsByRange.Sex, qryNewRegistrantsByRange.JobType, qryNewRegistrantsByRange.JobClass, qryNewRegistrantsByRange.EmploymentStatus, tblJobClass.JobClass AS Description
FROM qryNewRegistrantsByRange LEFT JOIN tblJobClass ON qryNewRegistrantsByRange.JobClass = tblJobClass.JobClassID
GROUP BY qryNewRegistrantsByRange.RegDate, qryNewRegistrantsByRange.ReActDate, qryNewRegistrantsByRange.Live, qryNewRegistrantsByRange.Surname, qryNewRegistrantsByRange.Othernames, qryNewRegistrantsByRange.Age, qryNewRegistrantsByRange.Sex, qryNewRegistrantsByRange.JobType, qryNewRegistrantsByRange.JobClass, qryNewRegistrantsByRange.EmploymentStatus, tblJobClass.JobClass
HAVING (((qryNewRegistrantsByRange.RegDate) Between [Forms]![Employment Registry]![txtStartDate] And [Forms]![Employment Registry]![txtEndDate]))
ORDER BY qryNewRegistrantsByRange.RegDate;
I have a user which is complaining about the above error inconsistently when trying to key in start and end date parameters to generate a report. The date range can be for a month, three months or a 6 month span. Sometimes the report will run successfully and sometimes not. Here complete error message…
“This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables.”
OS: 2000/XP
Access version: 2002
Also here is the SQL view. Any help on this would be great!
SELECT qryNewRegistrantsByRange.RegDate, qryNewRegistrantsByRange.ReActDate, qryNewRegistrantsByRange.Live, qryNewRegistrantsByRange.Surname, qryNewRegistrantsByRange.Othernames, qryNewRegistrantsByRange.Age, qryNewRegistrantsByRange.Sex, qryNewRegistrantsByRange.JobType, qryNewRegistrantsByRange.JobClass, qryNewRegistrantsByRange.EmploymentStatus, tblJobClass.JobClass AS Description
FROM qryNewRegistrantsByRange LEFT JOIN tblJobClass ON qryNewRegistrantsByRange.JobClass = tblJobClass.JobClassID
GROUP BY qryNewRegistrantsByRange.RegDate, qryNewRegistrantsByRange.ReActDate, qryNewRegistrantsByRange.Live, qryNewRegistrantsByRange.Surname, qryNewRegistrantsByRange.Othernames, qryNewRegistrantsByRange.Age, qryNewRegistrantsByRange.Sex, qryNewRegistrantsByRange.JobType, qryNewRegistrantsByRange.JobClass, qryNewRegistrantsByRange.EmploymentStatus, tblJobClass.JobClass
HAVING (((qryNewRegistrantsByRange.RegDate) Between [Forms]![Employment Registry]![txtStartDate] And [Forms]![Employment Registry]![txtEndDate]))
ORDER BY qryNewRegistrantsByRange.RegDate;