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 Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 125 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 81

#3
stampcoin Profile Picture

stampcoin 68

Overall leaderboard
Loading started
Loading started