G
Guest
Hi All:
I have the following two variables in query:
sterm (date format)
rdegree (text format, 1 reprent having obtained a degree and 2 having not
obtained a degree)
sterm means the term our students transferred to a senior college; rdegree
indicates having obtained a degree from that senior college.
Now I want to use Access to report how many students who transferred to a
senior college between 01-Sep-00 to 01-Sep-01 obtained a degree. I wrote the
following expression to count the total:
=Count(IIf('01-Sep-00'<[sterm]<'01-Sep-01', rdegree=1))
When I tried to go to print fomat, I got the following error message:
Data type mismatch in criteria expression.
I am afraid that I cannot use < or > for date variable but what can I do for
this specific problem?
Thanks.
Charles
I have the following two variables in query:
sterm (date format)
rdegree (text format, 1 reprent having obtained a degree and 2 having not
obtained a degree)
sterm means the term our students transferred to a senior college; rdegree
indicates having obtained a degree from that senior college.
Now I want to use Access to report how many students who transferred to a
senior college between 01-Sep-00 to 01-Sep-01 obtained a degree. I wrote the
following expression to count the total:
=Count(IIf('01-Sep-00'<[sterm]<'01-Sep-01', rdegree=1))
When I tried to go to print fomat, I got the following error message:
Data type mismatch in criteria expression.
I am afraid that I cannot use < or > for date variable but what can I do for
this specific problem?
Thanks.
Charles