OpenArgs help

  • Thread starter Thread starter Walter
  • Start date Start date
W

Walter

Can there be more than one set of conditions in the
OpenArgs criteria of the OpenForm action? I have one
control being populated with the data from a control on
the parent form but I have another control which I need to
populate also. If this is possible, how do I include the
second argument?
Thanks,
Walter
 
Walter said:
Can there be more than one set of conditions in the
OpenArgs criteria of the OpenForm action? I have one
control being populated with the data from a control on
the parent form but I have another control which I need to
populate also. If this is possible, how do I include the
second argument?
Thanks,
Walter

There is only one OpenArgs argument, but you can concatenate multiple
values together into a single string in the form of a delimited list --
separating the values with commas, or semicolons, or some other
character that won't appear in the values themselves. The pass that
string in OpenArgs, and have the opened form take that string and parse
it out into the multiple values again. If you're using Access 2000 or
later, the Split function is very handy for parsing a delimited string.
 
Back
Top