spawn a second form
spawn a second form
Good afternoon,Can you please tell me how to spawn a second form based on the input of the first form?For example, if a user selects a specific option from the first form I'd like to offer 4 more sub-items to select from which would be displayed in the second formThank you.
spawn a second form
The easiest way to do this is to use script scope variables: $script:Option1 = 2$script:Option2 = "Car", "Van", "Truck"etc. In the second form, use these variables on Form_Load event to fill any selection or data necessary. FYI, use the Call- functions to call any sub-form. David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
spawn a second form
Good morning.I see that you are setting the scope to "Script" in your example.If I need to pass the variable back to the calling script should I use a "Reference" variable declaration?Thanks.
spawn a second form
If you
continue to use the script scope, the calling form should have access to the
results.
Note:
PrimalForms will automatically generate variable results for certain form
controls, such as the TextBox, ComboBox and a few others.
When you press
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.