Years of progrmming experience - Days with PowerApps...
I would like to access the column values inside Data Table using the Drop Down (selected) as an index. Here's what I came up:
LookUp('[dbo].[Well]', 'WellID' = Dropdown_WellID.Selected.Value).Longitude
The comparison fails because the left side ('WellID') is a number, while the right side Dropdown_WellID.Selected.Value is text. So I tried:
LookUp('[dbo].[Well]', 'WellID' = Value(Dropdown_WellID.Selected.Value)).Longitude
Compiles without error. I set this as the default value of another text input. Start the app and no display.
I put the same code in the following code under the OnChange event for the drop down... still no display.
UPDATE: Change the lookup column from ID to Name because the selected value is the Name: LookUp('[dbo].[Well]', 'WellID' = Value(Dropdown_WellID.Selected.Value)).Longitude
Thanks in advance