I have 4 identical screen for each company. Each screen has a drop down box with company name. If the company name is selected it takes me to that company screen. I want to update the drop down box to the same screen. How can i acheive this?
On each of the combo boxes i have the following code on the on change :
Switch(
drpCompanyName1.SelectedText.Value,
"TBL",
drpCompanyName1.SelectedText.Value = "1";Navigate('Approve on hold invoices (1)'),
"TBG",
drpCompanyName2.SelectedText.Value = "2";Navigate('Approve on hold invoices (2)'),
"TMK",
drpCompanyName3.SelectedText.Value = "3";Navigate('Approve on hold invoices (3)'),
"TBS",
drpCompanyName4.SelectedText.Value = "4";Navigate('Approve on hold invoices (4)')
)
The drop down items are :
["1","2","3","4"]
The above code does't work. if i have just the navigate, it works fine. How do i get the text of the screen i am navigating to drop down box to match the screen that was last selected?
Switch(
drpCompanyName1.SelectedText.Value,
"TBL",
Navigate('Approve on hold invoices (1)'),
"TBG",
Navigate('Approve on hold invoices (2)'),
"TMK",
Navigate('Approve on hold invoices (3)'),
"TBS",
Navigate('Approve on hold invoices (4)')
)

Report
All responses (
Answers (