I have a collection which will only ever have 1 record in it. I'd like to hide a button if one of fields in the collection is empty
I have tried this :
Visible:
If(
IsEmpty(MyCollection.Field1) ||
IsEmpty(MyCollection.Field2) ||
IsEmpty(MyCollection.Field3) ||
IsEmpty(MyCollection.Field4) ||
IsEmpty(MyCollection.Field5) ||
IsEmpty(MyCollection.Field6),
false,
true
)
and this
Visible:
If(
IsEmpty(MyCollection.Field1) &&
IsEmpty(MyCollection.Field2) &&
IsEmpty(MyCollection.Field3) &&
IsEmpty(MyCollection.Field4) &&
IsEmpty(MyCollection.Field5) &&
IsEmpty(MyCollection.Field6),
false,
true
)
but button still invisible even if all those fields have data in them. Have also tried IsBlank instead of IsEmpty
Any ideas?
TIA