cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Macwin Resolver I
Resolver I

Updating Selected Record using Patchfunction

Its almost working. 
Its loading the gallery selected record (binded with cds) to my edit forms but it always patches the wrong data to my selected record.

My Patch functions looks like this 

 

If(
    Connection.Connected;
    Patch(
        CDS_SOURCE;
        GalleryPage0Overview.Selected;
        DataFormPage1.Updates;
        DataFormPage2.Updates;
        DataFormPage3.Updates;
        DataFormPage6.Updates;
        DataFormPage2Bemerkung.Updates;
        DataFormPage3Bemerkung.Updates
    )
);;
Refresh(CDS_SOURCE);;
Navigate(
    [@Overview_Screen];
    ScreenTransition.Cover
)

 

DataFormPageX are my forms, They are in different screens.

 

Do I need to use something like lookup for the 2nd parameter in the patch function? I want to update the records about the forms itself.  

 

1 ACCEPTED SOLUTION

Accepted Solutions
Macwin Resolver I
Resolver I

Re: Updating Selected Record using Patchfunction

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

1 REPLY 1
Macwin Resolver I
Resolver I

Re: Updating Selected Record using Patchfunction

Sorry, Im really stupid. I selected the wrong forms

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Users online (6,780)