C
Co9ug9ar
Can anyone please tell me what is wrong the following syntax in an unbound
text box inside a report or suggest a better method?
iif([Forms![Date Input Form]![Desired Date],"Forms![Date Input
Form]![Desired Date], "Forms![Date Input Form]![Begin Date] & ' until ' &
Forms![Date Input Form]![End Date]")
I get an error that says
"Syntaz error (missing operator) in query expression
'First([iif[Forms]![Date Input Form]![[Desired Date],"Forms]![Date Input
Form![[Desired Date], "Forms]![Date Input Form]![[Begin Date] & ' until ' &
Forms]![Date Input Form]![[End Date]")])'
Basically all I want it to do is either print out a single date, if
available, or just a string concatinating 2 dates and the word 'until'
between them. Is there an easier way to do this than what I'm doing?
Thanks,
Keith
text box inside a report or suggest a better method?
iif([Forms![Date Input Form]![Desired Date],"Forms![Date Input
Form]![Desired Date], "Forms![Date Input Form]![Begin Date] & ' until ' &
Forms![Date Input Form]![End Date]")
I get an error that says
"Syntaz error (missing operator) in query expression
'First([iif[Forms]![Date Input Form]![[Desired Date],"Forms]![Date Input
Form![[Desired Date], "Forms]![Date Input Form]![[Begin Date] & ' until ' &
Forms]![Date Input Form]![[End Date]")])'
Basically all I want it to do is either print out a single date, if
available, or just a string concatinating 2 dates and the word 'until'
between them. Is there an easier way to do this than what I'm doing?
Thanks,
Keith