N
Neil Greenough
I am trying to enter the following in a new unbound text box in a report:
=IIf([PaymentDate] < Date(), "Overdue", Null)
PaymentDate is the exact name of one of my fields. All I did was inserted a
new text box, clicked on properties and then pasted the above statement in
the Control Source.
Nonetheless, when I try this I keep on getting the following error:
"The function you entered can't be used in this expression:
*You may have used a DoEvents, LBound, UBound, Spc or Tab Function in an
expression
*You may have used an SQL aggregate function, such as Count, in a design
grid or in a calculated control or field.
=IIf([PaymentDate] < Date(), "Overdue", Null)
PaymentDate is the exact name of one of my fields. All I did was inserted a
new text box, clicked on properties and then pasted the above statement in
the Control Source.
Nonetheless, when I try this I keep on getting the following error:
"The function you entered can't be used in this expression:
*You may have used a DoEvents, LBound, UBound, Spc or Tab Function in an
expression
*You may have used an SQL aggregate function, such as Count, in a design
grid or in a calculated control or field.