web
You’re offline. This is a read only version of the page.
close
Skip to main content
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:
I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading started