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?

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,325)