Hello all.
Just a quick question . . .
Is there a correct / preferred way of opening one form from another and then going back to the original form ?
Should it be:
DoCmd.OpenForm "new form name"
DoCmd.Close acForm, "original form name"
or
DoCmd.Close acForm, "original form name"
DoCmd.OpenForm "new form name"
Or does it not really matter ?
From what I have done so far, it seems to me that if the form you are opening takes data from the currently open form, you don't want to close it first as the newly opened form will not be able to see the data within it.
Or have I got that wrong
Thanks
Damian
Just a quick question . . .
Is there a correct / preferred way of opening one form from another and then going back to the original form ?
Should it be:
DoCmd.OpenForm "new form name"
DoCmd.Close acForm, "original form name"
or
DoCmd.Close acForm, "original form name"
DoCmd.OpenForm "new form name"
Or does it not really matter ?
From what I have done so far, it seems to me that if the form you are opening takes data from the currently open form, you don't want to close it first as the newly opened form will not be able to see the data within it.
Or have I got that wrong
Thanks
Damian