I have an app which has been working for a while where the user can edit and add records to a Sharepoint list (called 'Sessions'). The Sharepoint list contains a few Lookup fields, one of which (called 'Client') refers to another list (called 'Client data'), using the field 'Reference' . The field does not allow multiple values.
The ComboBox for the Lookup field has an Items formula of:
Choices([@Sessions].Client)
and the field's datacard has an Update formula of:
DataCardValue.Selected
This works fine, but the list of value in the ComboBox is very large and so I created a Collection (called 'MyClients') which filters out the 'Client data' list records which are relevant to the current user (usually only 4 or 5 records). I changed the ComboBox Items formula to:
MyClients.Reference
and this correctly shows only the required 4/5 values in the ComboBox list. Everything looks good until the form is submitted: the resulting (new) record is created but with no value in the 'Client' field. I have spend several hours playing around with the Items and Update formulas in the hope of finding a solution, but without success.
Does anyone know why using a ComboBox value selected from the Collection rather than the underlying table will not work?