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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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