Click to See Complete Forum and Search --> : Passing variables between MDI application forms


bschultz
June 12th, 2001, 01:17 PM
Is it possible to pass the value of a user entered variable from one form in an MDI application to anther? How do I go about doing this?

Alejandro Ochoa
June 12th, 2001, 01:28 PM
In VB this is better handled with global variables:


' in module
public UserName as string

' In form1
Sub Open_Click
UserName = "xxx"

Load form2
form2.Show

End Sub




Now you can handle the variable (s) easier.