Upvote 2

Check, if a variable is empty?

Answered Victor Conesa 13 years ago

In Conditional Expressions:


How is it possible to check, if a variable is empty?


Example WHEN (variableName = Empty). In Java, Empty would mean null.


Thanks

Best Answer
photo

Create a condition that is When... [variable] = [double click and leave this space empty]

f49d0e84886321825ef8441e3db4f060

Replies (4)
photo
1

You have to build the condition WHEN (variable=Empty) and the Empty is the Aaa item inside the Constants tab in the Expression Builder

photo
1

Thanks! That works!

photo
1

I need to do the same check, but for a file upload within a Data Grid. Is there a way to check if a file upload is empty or not? I've tried "", null, empty, " ", 0, Count=0, etc. and nothing seems to work. Thanks.

photo
1

Create a condition that is When... [variable] = [double click and leave this space empty]

f49d0e84886321825ef8441e3db4f060

Leave a Comment
 
Attach a file