Hi Bryan,
A form is a class, so you need only set up a get/set property inside the
second form and then pass it in as the value of that property right before
you call the form's show method:
Private mshipvia As String
Public Property mmshipvia() As String
Get
Return mshipvia
End Get
Set(ByVal Value As String)
mshipvia = Value
End Set
End Property
HTH,
Bernie Yaeger
"Bryan McCammon" <bm******@flashmail.com> wrote in message
news:00****************************@phx.gbl...
In my main (starting) form, I read a security record
which pertains to the user and his access. I wish to
pass that info to the next form without having to read it
again. I am familiar with the method of passing values
to a function or sub using ByVal, but how do you pass
values from one form to another? Is there a common area
of storage that can be accessed by all components? I
would appreciate any ideas on how to do this. Thanks.