How can I populate the value of a text box based on the value of a dropdown? The drop down has values from table1 and the text box will retreive its value from table2
Solved! Go to Solution.
I simulated your lists in PA and everything went OK here. Let me show what I have done:
Layout of the application
First button, to simulate the Drivers Timesheet List
Second button, to simulate the Drivers Info List
Dropdown
First Input
Second Input
You can use UpdateContext({ItemYouSelected: DropdownMenu.Selected }) in the OnChange property from the Dropdown. And after that you can use the filter in Table2 items with the ItemYouSelected.Value (or any property your item has).
There's also another way to do that. Set your text box Default field equal to the DropdownList.Selected.Value, and it will automatically update with the list.
Something like this would work. Just add this to OnChange property from the Dropdown:
UpdateContext({Info : LookUp(DriverInfo,DropdownValue exactin Name)})
After setting the Info, you will need to set up the Default property from both 'Home Terminal Address' e 'Clock No' Text Boxes.
You need to access the Column 'Home Address' from your Record. Something like this will probably work:
Info.'Home Address'
@tbrantley can you please hover the yellow message sign and show the error message?
User | Count |
---|---|
139 | |
132 | |
75 | |
72 | |
69 |
User | Count |
---|---|
214 | |
192 | |
64 | |
62 | |
54 |