cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Johnafin
Frequent Visitor

Gallery selection not auto populating EditForm screen

Hello. I have an excel table database I am using and I ran into a problem.

I have a Gallery that has a search bar filter on it and the Edit screen will not auto populate what I selected. The only information being held is the text entry.

 

edit.PNGrecord.PNG

 

Here is the filter that is on the Gallery Item

 

Search(Dock, TextSearchBox1.Text, "Dock_x0020_or_x0020_Yard","Completed")

 


And the edit selection Item is 

 

BrowseGallery1_1.Selected

 


I understand the filter on the Gallery is messing up the records, but even then, why would my dropdowns not populate with a different record's information?

Any help would be greatly appreciated. Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

Hi @Johnafin 

If you have modified the Items of the gallery, you will need a more specific way to identify the record chosen for the edit form.  Instead of the Item property of the form: BrowseGallery1_1.Selected  try

 

Lookup(Dock,ID=BrowseGallery1_1.Selected.ID)

 

 You did have an ID column in your table, didn't you?

View solution in original post

1 REPLY 1
Drrickryp
Super User
Super User

Hi @Johnafin 

If you have modified the Items of the gallery, you will need a more specific way to identify the record chosen for the edit form.  Instead of the Item property of the form: BrowseGallery1_1.Selected  try

 

Lookup(Dock,ID=BrowseGallery1_1.Selected.ID)

 

 You did have an ID column in your table, didn't you?

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,893)