cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Display form when i click on gallery

Hi All,

I have Purchase order table    with Purchase order No field

I have Inspection table    with Purchase order No and some fields.

Gallery having items of Purchase order

When i click on gallery i need to display Purchase Order No and Some field which should entered by user in the same form.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous ,

Do you want to display related  Inspection table  item in form by clicking Purchase order table gallery?

If so, could you tell me

1)the data type of Purchase order No field in Inspection table and Purchase order table?

2)your data source?

I assume that your data source is sharepoint list.

If Purchase order No field is both number/text type in two lists, try this:

set the Inspection table form's Item:

LookUp(Inspection,'Purchase order No'=gallery.selected.'Purchase order No')

If Purchase order No field is number type in Purchase order table, lookup type in Inspection table, try this:

set the Inspection table form's Item:

LookUp(Inspection,'Purchase order No'.Value=gallery.selected.'Purchase order No')

//please replace with your gallery name.

Then the form will display related item of Inspection table by clicking item in Purchase order table.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
eka24
Super User
Super User

Can you show screenshot of the The Gallery and the form

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Anonymous
Not applicable

Purchase Order No  i will Look Up inspection table  on filed of purchase order No

Anonymous
Not applicable

purchase Order Table of purchase order No  i t will look Up inspection Table of Purchase order No filed

Hi @Anonymous ,

Do you want to display related  Inspection table  item in form by clicking Purchase order table gallery?

If so, could you tell me

1)the data type of Purchase order No field in Inspection table and Purchase order table?

2)your data source?

I assume that your data source is sharepoint list.

If Purchase order No field is both number/text type in two lists, try this:

set the Inspection table form's Item:

LookUp(Inspection,'Purchase order No'=gallery.selected.'Purchase order No')

If Purchase order No field is number type in Purchase order table, lookup type in Inspection table, try this:

set the Inspection table form's Item:

LookUp(Inspection,'Purchase order No'.Value=gallery.selected.'Purchase order No')

//please replace with your gallery name.

Then the form will display related item of Inspection table by clicking item in Purchase order table.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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