cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SheltonThompson
Level: Powered On

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
SheltonThompson
Level: Powered On

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. 

1 REPLY 1
SheltonThompson
Level: Powered On

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. 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 142 members 4,496 guests
Please welcome our newest community members: