cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
WarrenBelz
Super User
Super User

Hi @Anonymous ,

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

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @Anonymous ,

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.

Anonymous
Not applicable

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

Anonymous
Not applicable

I had the same problem!

Anonymous
Not applicable

I had the same problem! and you made my day. thanks a lot!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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