Probably a real simple one here guys.
I need to hide a field and move up other fields on a report if it is empty.
I put this code in the onOpen property:
If Reports!Invoice!Item1.Value = "" Then Reports!Invoice!Item1.Visible = False
I give me an error though. it says "You entered an expression that has no value"
What am i doing wrong?
Cheers

I need to hide a field and move up other fields on a report if it is empty.
I put this code in the onOpen property:
If Reports!Invoice!Item1.Value = "" Then Reports!Invoice!Item1.Visible = False
I give me an error though. it says "You entered an expression that has no value"
What am i doing wrong?

Cheers
Last edited: