I am trying to add a button to the top level of a nested gallery that will open an edit form that pulls all data from the data source. I am using nested gallery to group all the data by a unique field so the second gallery has all the records matching that field. The Items in the first gallery uses Choices(Datasource.ID). Normally, I would make the edit form items gallery.selected, but that will not work here since it is only using datasource.ID as data. Is there anyway to do this?
For the item property of the form use LookUp(Datasource, ID = Gallery1.Selected.ID) and match the Datasource in the item property to the Datasource of the form.
I tried this but it did not work for me. I was ID was not a choice after Gallery1.selected. The only options were Buttons.