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

SQL Server DataSource and ItemSelected

Hello

 

I have a gallery list which connects to a SQL Database. In the gallery I had a button which the OnSelect actions are as follows

 

Set(ItemSelected,ThisItem);
Navigate(IssueManagement,ScreenTransition.Fade)

 

On the IssueManagement Screen there is a edit form where the data source is teh same SQL table and the item is set to "ItemSelected." This was previously working now it is returning an error saying "Invalid Formula. Expected a Value compatibale with the data source"

 

Did something change on PowerApps? Do I need to be doing something differently?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: SQL Server DataSource and ItemSelected

Solved my own issue. I was using the same global variable accross multiple data sources . Once I created a unique "itemselected" for each data source and reset the variables, the issue disappeared. 

View solution in original post

1 REPLY 1
Highlighted
Frequent Visitor

Re: SQL Server DataSource and ItemSelected

Solved my own issue. I was using the same global variable accross multiple data sources . Once I created a unique "itemselected" for each data source and reset the variables, the issue disappeared. 

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

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

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,226)