如:
If Not IsLoaded("Tickets") Then
DoCmd.openForm "Tickets"
End If
DoCmd.SelectObject acForm, "Tickets"
DoCmd.GoToControl Forms![Tickets]![ControlNo].Name
DoCmd.FindRecord Me![ControlNo]
DoCmd.GoToControl Forms![Tickets]![ControlNo].Name
用户在浏览机票的窗体上双击ControlNo,自动打开Tickets窗体,并使用FindRecord功能找到该ControlNo。