General information
Category:
Forms & Form designer
>How to pass an private array to a form for manipulation and get the manipulated array back?
>
>One way would be to pass the name of the array. Another way a wrapper procedure calls the form, so the form knows the name of the array. Is there a neater way?
>
>TIA,
>
>Alex
You can only 'return' stuff from a modal form. I think 7 allows you to return arrays, but it is kinda of flaky.
The best bet is to pass an object with an array property in it. This won't require a 'return' since objects are passed by reference.
Or, your form could have an array property in it, you could copy the array to the forms array proerty, then copy it out.
You could also just create a private array variable, call the modal form which would have access to the private variable.
Lot's of options.
BOb
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