Private Sub Command6_Click()DoCmd.CloseDoCmd.OpenForm "主窗体"End Sub
access支持VB脚本的吧,Main.show,Me.Close?就是先打开那个主窗体,再关闭当前的窗体。