Try:
Dim frm As Form
Private Sub Form_Load()
Set frm = New Forms!Employee
frm.Visible = True
frm.Caption = Me.EMP_LastName
End Sub
For more information, see what Allen Browne has at
http://www.allenbrowne.com/ser-35.html

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
>I want to open multiple instances of the same form and name the tabs in
> Access 2007 and I'm having trouble. I have a continuous form (form1) that
[quoted text clipped - 37 lines]
>
> Esther
Esther - 12 May 2008 00:01 GMT
Thanks for the URL for Allen Browne's tips. His argument for not using the
"new" in the procedure is convincing. I tried to replicate his collection
method. I understand what it's trying to do - but it seems that the very
first button (Open an instance) doesn't allow the user to select a particular
record. It seems like you get what you get when you click on it. After
that, you can choose a particular record.
I don't know VB well enough to figure out how I can get the record selector
on the first screen, given that there is no record source for the opening
screen.
Also, what happens to the clnClient collection if the user closes the window
instead of using the "Close all instances" command button. Does it matter
(assuming that the user did not open the form from the nav window)?
Can you help?
Thanks
Esther