web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Forms, Multip...
Power Apps
Answered

Multiple Forms, Multiple Sources. Forms Item and FormMode

(0) ShareShare
ReportReport
Posted on by 174

Hi,

 

I have built a Inspection app which has a welcome screen, a view previous inspection screen and four Edit Screens, this app has to be split up this way because the old document im digitising has several sections that could have 1 row or an unknown amount of rows. Ie please list the steps taken for inspection, it could be one or it could be 100 and each step will have an UniqueID (ill bring it all back together in PowerBi in a report)

 

Each Edit Screen has its own EditForm connected to its own datasource (all sharepoint lists) each source has a column called UniqueID which ties the data together,

I have built a global variable called varMode which sets the mode to either Edit, View or New.

 

My issue is i cannot see the previous items on the form except for the first form linked to the gallery in the view previous inspections screen ie BrowseGallery.Selected,

 

I believe i need to use a lookup in the Forms Item something like LookUp(AreaInspectionDetails, UniqueID = IDLabelText_4.Text)

 

i know i can do this because ive done it before for another company years ago, but i cant remember or find the old app.

 

 

 

I am able to display the first forms

 

I wish to use a lookup or similar in the Forms Item

Categories:
  • Verified answer
    EddieE Profile Picture
    4,650 Moderator on at

    @SomeoneAwesome 

    You could try setting another global variable that takes the UniqueID (you say this ties all the data together)?

     

    Eg

    OnSelect of a gallery item

    Set( vUniqueID, ThisItem.UniqueID);
    
    // ... rest of your OnSelect code here

     Then the Items for each form:

    LookUp(thisFormsDataSource, UniqueID = vUniqueID)

     

    You make also need to clear this variable when the varMode is set to New, eg

    Set( vUniqueID, Blank());
    
    // ... rest of your Set( varMode ...) code here

     

  • krishnap24 Profile Picture
    3 on at

    Works for me , Thanks for solutions, 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard