Hello,
Ive little problem with passing current form name to another form. I'm tring to execute something like this
Form1:
DoCmd.OpenForm "Form2", OpenArgs:="Form1"
Form2:
Private Sub Form_Load()
Me.Move OpenArgs.WindowLeft, OpenArgs.WindowTop
DoCmd.Close acForm, OpenArgs
End Sub
Ofcourse that doesn't work. Is there possibility to pass current form name which will work with .Parametr?
Thanks in advance!
Ive little problem with passing current form name to another form. I'm tring to execute something like this
Form1:
DoCmd.OpenForm "Form2", OpenArgs:="Form1"
Form2:
Private Sub Form_Load()
Me.Move OpenArgs.WindowLeft, OpenArgs.WindowTop
DoCmd.Close acForm, OpenArgs
End Sub
Ofcourse that doesn't work. Is there possibility to pass current form name which will work with .Parametr?
Thanks in advance!