G
Guest
My Office 2003 report control source is a query that includes fields for two
dates. I have a text box in group footer with the following statement as the
data source:
=iif([date1]<[date2], [date2], null)
I have tried this statement with various return values such as "false" for
null and "true" for [date2], but the statement always returns an error.
The error drop down shows "Invalid Control property: Control Source", and
"Circular Reference", but neither makes sense to me.
Also, a statement in another text box with two IIF contructs generates an
error indicating the wrong numbe or agruments, e.g. iif(c>d, a,iif(b<0,0,b)),
where a, b, c and d are fields in the report data source. Is this due to an
inherent limitation in Access?
Thanks,
DM
dates. I have a text box in group footer with the following statement as the
data source:
=iif([date1]<[date2], [date2], null)
I have tried this statement with various return values such as "false" for
null and "true" for [date2], but the statement always returns an error.
The error drop down shows "Invalid Control property: Control Source", and
"Circular Reference", but neither makes sense to me.
Also, a statement in another text box with two IIF contructs generates an
error indicating the wrong numbe or agruments, e.g. iif(c>d, a,iif(b<0,0,b)),
where a, b, c and d are fields in the report data source. Is this due to an
inherent limitation in Access?
Thanks,
DM