WindowMode:=acDialog
你启动时设置DoCmd.OpenForm
以下是从其他Office VBA(Excel,Word,VB6,VB.Net)完成的操作.使用以下代码以模态方式调用表单
Dim f as new FormNameHere
f.Show True 'True is the option for Dialog in VB
' form will be displayed until the user dismisses it then execution continues
set f = Nothing
Run Code Online (Sandbox Code Playgroud)
除此以外:
f.ShowDialog
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6759 次 |
最近记录: |