power platform - MS PowerApp, Navigate and Patch dont work together (German) - Stack Overflow

My Problem is simple.The button that has the patch function to transfer the data to my sharepoint list

My Problem is simple. The button that has the patch function to transfer the data to my sharepoint list has to also navigate to a success screen when pressed.

Patch alone works, but if i add the Navigate Code, the same error always appears.

Patch(
    Anfragenliste;
    Defaults(Anfragenliste);
    {
        Mitarbeiter: User().FullName;
        Gerät: drpGerät.Selected.Value;
        Ausleihdatum: dpAusleihdatum.SelectedDate;
        Rückgabedatum: dpRückgabedatum.SelectedDate;
        Status: "Genehmigung ausstehend"
    }
)*;*
Navigate(AntragVersendet; ScreenTransition.Fade)

The Semikolon before "Navigate" gets marked as an error. I dont know how to fix it, tried everything. I marked the Semikolon inbetween two stars so you know which one i mean.

My Problem is simple. The button that has the patch function to transfer the data to my sharepoint list has to also navigate to a success screen when pressed.

Patch alone works, but if i add the Navigate Code, the same error always appears.

Patch(
    Anfragenliste;
    Defaults(Anfragenliste);
    {
        Mitarbeiter: User().FullName;
        Gerät: drpGerät.Selected.Value;
        Ausleihdatum: dpAusleihdatum.SelectedDate;
        Rückgabedatum: dpRückgabedatum.SelectedDate;
        Status: "Genehmigung ausstehend"
    }
)*;*
Navigate(AntragVersendet; ScreenTransition.Fade)

The Semikolon before "Navigate" gets marked as an error. I dont know how to fix it, tried everything. I marked the Semikolon inbetween two stars so you know which one i mean.

Share Improve this question edited Mar 4 at 13:08 GutMood asked Mar 4 at 10:39 GutMoodGutMood 32 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

In German, you need to use ;; to chain two different operations (one executing after the other), so this should work:

Patch(
    Anfragenliste;
    Defaults(Anfragenliste);
    {
        Mitarbeiter: User().FullName;
        Gerät: drpGerät.Selected.Value;
        Ausleihdatum: dpAusleihdatum.SelectedDate;
        Rückgabedatum: dpRückgabedatum.SelectedDate;
        Status: "Genehmigung ausstehend"
    }
);;
Navigate(AntragVersendet; ScreenTransition.Fade)

On locales that use , instead of . as the decimal separator, the "list separator" (what is used to separate arguments to functions or properties in a record) changes from , to ;, and the chaining operator changes from ; to ;;. See https://learn.microsoft/power-apps/maker/canvas-apps/global-apps#formula-separators-and-chaining-operator for more details.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745050085a4608332.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信