我是靠自己找到的.我错过了它,因为它使用了愚蠢而笨重的RunCommand语法,而不是控件或表单类上的简单属性或方法.
它不漂亮,但对后代来说,这就是答案.
'You have to set focus to the subform control or the change view call will' 'fail (UGH!)' MyForm.mySubFormControl.SetFocus 'Change to datasheet view...' DoCmd.RunCommand acCmdSubformDatasheet 'Change to Form View...' DoCmd.RunCommand acCmdSubformFormView