Skip to main content

Notifications

Community site session details
Power Apps - Building Power Apps
Answered

Unexpected characters. The formula contains 'ParenClose' where 'Comma' is expected.

Like (0) ShareShare
ReportReport
Posted on 22 Aug 2022 07:23:37 by 26

Hi,

 

I tried to use this 2 actions on 1 button.

The first one is just normal navigate.

But the second one, I would like to record who click this button, when and what button they click.

 

This is what my code look like.

Navigate(Info1, ScreenTransition.Fade) ; ('Record',Defaults('Record'),{PageName:"Login_1",TimeofClick:Today(),Email:varUserEmail})

 

The error.

JULY1_0-1661152925902.png

 

Please help fixing my error.

 

Thank you!

Categories:
  • Verified answer
    rb Profile Picture
    833 Super User 2024 Season 1 on 22 Aug 2022 at 08:39:08
    Re: Unexpected characters. The formula contains 'ParenClose' where 'Comma' is expected.

    Hi @JULY1,

     

    Have you simply missed your "Patch"?

     

    Should it be:

    Navigate(Info1, ScreenTransition.Fade);
    Patch('Record', Defaults('Record'), {PageName: "Login_1", TimeofClick: Today(), Email: varUserEmail})

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started
Loading started
Loading complete