Hello,
I have a table "LevelTexts " with field "Per1". I need one textbox ("per1txt") in a report to display nothing ("") if the value of "per1"=0, and the value itself ("per1") if its >0.
Im trying the following in the textbox ("per1txt") control source but i get an #error:
=IIf(LevelTexts !Per1>0,DLookUp ("[per1]","[leveltexts]",""))
Any ideas??? Thanks,
Gilberto
I have a table "LevelTexts " with field "Per1". I need one textbox ("per1txt") in a report to display nothing ("") if the value of "per1"=0, and the value itself ("per1") if its >0.
Im trying the following in the textbox ("per1txt") control source but i get an #error:
=IIf(LevelTexts !Per1>0,DLookUp ("[per1]","[leveltexts]",""))
Any ideas??? Thanks,
Gilberto
Comment