I have a gallery named 'DLCGallery'. When I select an item from the gallery it opens in the 'DLCForm (editmode). This works correctly. I added another gallery to the DLCForm named 'TaskGallery'. The datasorce for taskGallery is named 'Tasks' and it has a lookup field named 'Parent' that points to the ID field of the DLC Site Record datasource that is used by the DLCForm. When I select an item (OnSelect) from the DLCGallery I set a variable named 'varSelectedDLCFormID' to the id of the record I'm getting into
Set(varSelectedDLCFormID, ThisItem.ID)
I have verified this works. When I input the following formula into the 'items' property of the Taskgallery I get the error above displayed in the thread subject. I've tried uding various casting techniques, but none seem to work.
Filter(Tasks, Parent = varSelectedDLCFormID)