Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

embedding an if statement

Status
Not open for further replies.

soda

Technical User
Joined
May 30, 2001
Messages
3
Location
US
i am trying to embed an IF statement within a control source on a text file in a report? Is this do-able?

I've tried:

= if [date] > #01/01/01# then "no picture"

&

= if ([date] > #01/01/01#, "no pic", "")

not sure what to do now...

Thanks,
John
 
=iif([date]>#01/01/01#,"no pic","")

IIF is used in Access, not IF
techsupportgirl@home.com
Brainbench MVP for Microsoft Word
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top