Private Sub Command0_Click()
Dim frm As Form
Dim L As Integer
Dim T As Integer
DoCmd.OpenForm "窗体1", acNormal
Set frm = Forms("窗体1")
L = Me.WindowLeft + (Me.WindowWidth - Me.InsideWidth) + Me.Command0.Left
T = Me.WindowTop + (Me.WindowHeight - Me.InsideHeight) + Me.Command0.Top + Me.Command0.Height
frm.Move L, T
End Sub