I have a series of .Net Scripts and an Active Data file for an application that our company uses. The scripts searches a user based off the account option chosen. The account option themselves are selectable through a combo box and requires the user to input a coinciding account number. The only problem is that I have to create a separate script for each account type that can be searchable in the program. I was wondering was there a way to make ONE script that can select the right account option and pull the correct coinciding account number from the Active Data file? Here is the test script that I currently have:
PublicSub Main()
Dim activeDataName AsString = ("MyActiveData")
Dim data As ActiveData = Workbench.LoadActiveData("MyActiveData")
With _desktop.Window("MyProgram ")