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 / Multi Screen Form Writ...
Power Apps
Answered

Multi Screen Form Writing to wrong row

(0) ShareShare
ReportReport
Posted on by 611

All of the screens/ forms associated with this app are writing to the correct row except one. this only happens when the form mode is in new

 

Prior Screen Form (this one writes to the correct row):

Form2

OnSuccess: Navigate(scrForm1_1,ScreenTransition.None)

DefaultMode: If(varFormMode="view",FormMode.View,FormMode.Edit)

Item: If(varFormMode = "edit", Gallery_Main.Selected, LookUp('[dbo].[App_PAFNewProj_Main]', ID = varRecord.ID))

NextButton OnSelect: ResetForm(Form1_1)

 

Problem Screen:

 

Form1_1

OnSuccess: Navigate(scrForm3,ScreenTransition.None)

DefaultMode: If(varFormMode="edit",FormMode.Edit,varFormMode="view",FormMode.View,FormMode.New)

Item: If(varFormMode = "edit", Gallery_Main.Selected, LookUp('[dbo].[App_PAFNewProj_Main]', ID = varRecord.ID))

 

The next 3 screens work fine. For some reason this one screen isn't writing to the correct row. Let me know if there is anything else I can provide that would be helpful.

 

Categories:
I have the same question (0)
  • Verified answer
    TesDA Profile Picture
    611 on at

    This is solved. The DefaultMode was incorrect - it was forcing it to new instead of edit

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thanks for your update! Hopefully this will prove to be useful to future communities users. 

     

    Regards,

     

    Alex

     

    -------

     

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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard