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

Notifications

Announcements

Community site session details

Community site session details

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

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:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard