Page 1 of 1
Making a variable invisiable at runtime
Posted: Wed Jun 02, 2010 9:22 am
by MikeD
I have a variable I'm using as a label.
I want to make this variable invisible if the text below it is blank (i.e. string.empty).
The text below is from a field in the database called fieldname. So whenever fieldname == string.empty I want the variable I use as a label to be invisible.
I see there's a condition property. But I have no idea how to use it. There is ZERO documentation on this property.
Any help would be greatly appreciated.
Mike
Making a variable invisiable at runtime
Posted: Thu Jun 03, 2010 3:11 am
by Andrew
Hello,
Sorry it seems we do not exactly understand your request. Could you, please describe your task in more details or rephrase it somehow.
Thank you.
Making a variable invisiable at runtime
Posted: Thu Jun 03, 2010 6:20 am
by MikeD
I created a variable...and then put the variable on the report in the databind.
The variable is used as a label.
Below the variable is a data field.
What I want to know is....IF the data field value is "" I want to make the variable invisible.
Making a variable invisiable at runtime
Posted: Thu Jun 03, 2010 7:31 am
by MikeD
I figured it out.
By using the condition statement as a expression I was able to get it to work.
SQLTable.FieldName == ""
Then clicked off the Enabled button for the above condition.
Finding new things all the time.....great product.
Making a variable invisiable at runtime
Posted: Thu Jun 03, 2010 7:37 am
by Andrew
Excellent!