General information
Category:
Forms & Form designer
>When we issue "do form myform to " the form called returns only one value to . Is there a way to receive more then one value.
Pass the variables by reference:
local lcFirst, lcSecond, lcThrid
do form c:\vfptest\multivar with lcFirst, lcSecond, lcThrid
If the INIT() of your form looks like:
lparam lc1, lc2, lc3
lc1 = 'First Var'
lc2 = 'Second Var'
lc3 = 'Third Var'
After the form is done, checking the value of lcFirst will return 'First Var'. Or use a single array instead of multiple variables. You can also use an object and create the properties needed for each variable and pass that.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only