Sir,
No such (rec.close) is given in code
Only code for centering form and go back is given viz

Private Sub Form2_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
End Sub

AND

Private Sub Command7_Click()
Form1.Show
Form2.Visible = False
End Sub


FOR (GOBACK) is given