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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,558)