Hello
I have a gallery that is linked to different collections, depending on a condition. I want to display fields in the gallery, but the fields will change depending on the collection selected.
Is there anyway to display in a gallery the fields based on their field number. For example, i want to display the first 5 fields of the selected collection, (but i don't know the names of the fields), so can i reference the field number ? so the label control in the gallery would have Text property set to
ThisItem.Field(1)
Or the other option is, if I know the field name, but it will change, can i reference somehow a variable field name when setting the Text property of the label in the gallery
Set(varItem43,"Field1");
ThisItem.varItem43;
any way to do this ?
Regards
Dave