cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Veronica
Resolver I
Resolver I

Help with a filter Gallery

I have a Gallery that I filter by firstname.  Once bring me the record I want to see the detail info through the > icon but brings me another record. Actually, always brings me the same record, never the one is suppose to.

 

I upload the screens.

 

I am using SQL in Azure database.

 

Any help will be appreciate.

 

Verónica

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

I think I know.  Going over your message I noticed that I am recycling the detail form invoking it from two different galleries. 

View solution in original post

prajyot
Resolver II
Resolver II

You should pass the selected item using ThisItem

Fetch all the fields on DetailScreen1 as displayItem.FirstName

Navigate(DetailScreen1, ScreenTransition.None, {displayItem: ThisItem})

 

 

Thanks

View solution in original post

5 REPLIES 5
Drrickryp
Super User
Super User

On the details form that you navigate to, the datasource property of the form should be the same Sql table as the galley you came from. The Item property of the form should be Gallery1.Selected (replace Gallery1 with the actual name of your gallery).

Thanks very much for you time.

 

The table  of the Detail form is tha same table of the Gallery from where I invoke the Detail once the Gallery is filter by the text value

 

Verónica.

I think I know.  Going over your message I noticed that I am recycling the detail form invoking it from two different galleries. 

prajyot
Resolver II
Resolver II

You should pass the selected item using ThisItem

Fetch all the fields on DetailScreen1 as displayItem.FirstName

Navigate(DetailScreen1, ScreenTransition.None, {displayItem: ThisItem})

 

 

Thanks

Thank you for the feedback!

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 (1,552)