cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

semicolon as separator for multiple commands in OnSelect

I cannot not add more than one command in the 'OnSelect' function of a button in PowerApps.

Using the comma or semicolon as a separator both result in the following error message:

error 1.pngerror 2.png

What to do?

I use the EU version, Dutch language. 

 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: semicolon as separator for multiple commands in OnSelect

Hi @Bernd ,

I am not sure what region you are in but the two possibilities

Navigate(Screen1);
Collect(
   MyAgendaCollection, AgendaOverzicht
)

OR

Navigate(Screen1);;
Collect(
   MyAgendaCollection; AgendaOverzicht
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: semicolon as separator for multiple commands in OnSelect

Hi @Bernd ,

I am not sure what region you are in but the two possibilities

Navigate(Screen1);
Collect(
   MyAgendaCollection, AgendaOverzicht
)

OR

Navigate(Screen1);;
Collect(
   MyAgendaCollection; AgendaOverzicht
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Frequent Visitor

Re: semicolon as separator for multiple commands in OnSelect

Great, Thank you very much, WarrenBelz!! The solution is that multiple commands must be separated by two semicolons!! 

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,900)