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 II
Super User II

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. 

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

Thank you for the feedback!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (46,742)