Re: OpenForm OpenArgs - multiple arguements
- From: fredg <fgutkind@xxxxxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 19:29:30 -0800
On Tue, 13 Feb 2007 21:57:35 -0500, Mark J Kubicki wrote:
I need to pass several values to a form
what is the proper delimitation for setting the value of multiple
arguments?
the values are:
string:"true",
and
2 field values on the current form (which opens the second):
me.Manufacturer.value, and me.CatalogueNo.value
thanks in advance,
mark
The OpenArgs argument is a string.
You can separate the various inner strings using any character
(hopefully, not a character that might be found in an inner string).
I've used the comma as a separator below. You could also, for example,
use the pipe (|) character.
You wish to pass the word "True" as a string and not True as an Access
constant number (-1), is that correct?
DoCmd.OpenForm "FormName", , , , , , "True" & "," & Me![Manufacturer]
& "," & Me![CatalogueNo]
This will pass to the second form like this:
True,Lockheed,123
In the second form's Load event, you would parse the openargs into
it's 3 inner strings. If you need help with that, post back.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
.
- References:
- OpenForm OpenArgs - multiple arguements
- From: Mark J Kubicki
- OpenForm OpenArgs - multiple arguements
- Prev by Date: Re: OpenForm OpenArgs - multiple arguements
- Next by Date: Re: Can I make a linked for update with On Current
- Previous by thread: Re: OpenForm OpenArgs - multiple arguements
- Index(es):
Relevant Pages
|