I have a gallery that reads data from a Sharepoint list named Company, if in Items I only put Company, it allows me to edit in the respective form, but when I include a statement that has sort and search like this in Item:
Sort(Search(AddColumns(Company,"City",City,"Count",Country),ScrCompaySearch.Text,"NameCompany","City","Count"),NameCompany,SortOrder.Ascending)
I can't edit the item and it even gives me an error in the editing form in item: alCompanys.Selected
How can you correct it so that it allows sort and search and can it allow editing of the selected record?
Tahks for the help