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 / Help me please. Workin...
Power Apps
Answered

Help me please. Working with forms

(0) ShareShare
ReportReport
Posted on by
Help me please. I need to create a form to populate the database as shown in Screen2. But you can create a form only Screen1

 

Screen1Screen1Screen2Screen2

Categories:
  • kianlutu Profile Picture
    Microsoft Employee on at

    On the form in Screen1, you could add a button with an OnSelect property which will save the input to a collection which would look something like

     

    Collect(CollectionNamePlaceHolder, 
    {Group : groupTextInput.Text,
    Student : studentTextInput.Text,
    Evaluation : evaluationTextInput.Text}
    )

     

    and then on Screen2 If you add a gallery with their Items Property looking something like

     

    Filter(CollectionNamePlaceHolder, Group = GroupScreen2InputTextInput.Text)

    with "GroupScreen2InputTextInput" being the TextInput control on that screen, you should get what you want

     

  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @AlexRus,

     

    Form controls would work directly with single record you have specified, and based on the screen2, it is not recommended to use form here.

     

    For Screen2, which data that you would like to save into the Database?

    In addition, would you please share some information regarding your database table, how the data is managed there?

     

    Are the students 1 to 5 static? We could take use of a dropdown to hold the Student value, and another Dropdown to hold the Evalution value

    Then take use of Patch function with the Save button, to save the selected Evaluation value for each students into Database.

    An easy example:

     

    Patch(Datasource, Lookup(Datasuorce, Group=Textinput.text, Student=dropdown1.selected.value), {Evaluation:Dropdown2.selected.value})

     

    Formula reference:

    Patch function in PowerApps

    Fliter, search, and Lookup functions in PowerApps

     

    If you need any further assistance, or if I have any misunderstandings, please post back.

    Regards

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard