cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cyberco01
Post Prodigy
Post Prodigy

Error: Unexpected characters. 'ParenClose' where 'Eof' is expected for combo-box

Hi,

I have a powerapps form linked to sharepoint.

I have a combo-box that reads data from SQL. The combo box has below formula on the items.

If(
User().Email="abc@xyz.com",
Filter(VW_ANC_WorkerPositionRate, REVPROJID = ComboBox1.Selected.PROJECTID),
Filter(VW_ANC_ProjectStaging, REVPROJID <> ComboBox1.Selected.PROJECTID)
)

However, when I change the combo box property to Allow Searching - it shows error - "the formula contains parenclose where eof is expected powerapps".

Please help.

1 ACCEPTED SOLUTION

Accepted Solutions
cyberco01
Post Prodigy
Post Prodigy

The issue has been resolved by removing the comments in teh code.

View solution in original post

6 REPLIES 6
cyberco01
Post Prodigy
Post Prodigy

@RandyHayes , kindly help if you have encountered a similar one before.

cyberco01
Post Prodigy
Post Prodigy

@WarrenBelz , kindly help 

cyberco01
Post Prodigy
Post Prodigy

The issue has been resolved by removing the comments in teh code.

Mari
Community Support
Community Support

Thanks for updating the thread with your findings!

RandyHayes
Super User
Super User

@cyberco01 

Your Formula did not show any comments...so I suppose you excluded them in your post and discovered them as an issue.

 

Comments can be in-line (at the end of a line) and proceeded with //

Or an entire block can be commented with the start of the block containing a /* and the end of the block containing a */

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

This is not so intuitive, but it helped ! Thank you

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,965)