cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SheltonThompson
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
SheltonThompson
Frequent Visitor

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
SheltonThompson
Frequent Visitor

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
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,880)