How to pass multiple arguments to a second form.

  • Thread starter Thread starter WDSnews
  • Start date Start date
W

WDSnews

In my first form, I'm passing the ID of the record to display on the second
form. OpenArgs is used to find the record with FindFirst. How can I pass
additional data? In this case, I want to provide the user with strMissing,
which is a string that lists all the fields the user needs to fill in.
 
You can pass multiple values separated by a specific character (such as a
semicolon) in the OpenArgs string. Then Split() will parse it into an array,
and you can loop through the array from LBound() to UBound() to handle each
item.
 
thank you.


Allen Browne said:
You can pass multiple values separated by a specific character (such as a
semicolon) in the OpenArgs string. Then Split() will parse it into an
array, and you can loop through the array from LBound() to UBound() to
handle each item.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top