CloseWindow宏操作中英文对照-周芳
Access软件网QQ交流学习群(群号码198465573),欢迎您的加入!
首页 >技术文章> Access数据库-宏


CloseWindow宏操作中英文对照

发表时间:2012/7/27 9:58:58 评论(0) 浏览(13772)  评论 | 加入收藏 | 复制
   
摘 要:可以使用 CloseWindow 操作关闭指定的 Microsoft Access 2010 文档选项卡或活动的文档选项卡(如果未指定文档选项卡)。
正 文:

【中文】CloseWindow 宏操作      

  可以使用 CloseWindow 操作关闭指定的 Microsoft Access 2010 文档选项卡或活动的文档选项卡(如果未指定文档选项卡)。


设置
CloseWindow 操作具有下列参数。



 

说明
       CloseWindow 操作适用于用户可显式打开或关闭的所有数据库对象。此操作等效于选择某个对象,然后通过右键单击该对象的文档选项卡并单击快捷菜单上的“关闭”来关闭该对象,也等效于单击对象的“关闭”按钮。

       如果将“保存”参数设置为“提示”,且在执行 CloseWindow 操作前尚未保存该对象,则会出现一个对话框,提示用户在该宏关闭对象前保存该对象。如果将 SetWarnings 操作的“打开警告”参数设置为“否”,则不会显示该对话框,而会自动保存对象。

      若要在 Visual Basic for Applications (VBA) 模块中运行 CloseWindow 操作,请使用 DoCmd 对象的 CloseWindow 方法。

 

【英文】CloseWindow Macro Action


You can use the CloseWindow action to close either a specified Microsoft Access 2010 document tab or the active document tab if none is specified.

setting


The CloseWindow action has the following arguments.


Remarks

 

The CloseWindow action works on all database objects that the user can explicitly open or close. This action has the same effect as selecting an object and then closing it by right-clicking the object's document tab and then clicking Close on the shortcut menu, or clicking the Close button for the object.

 

If the Save argument is set to Prompt and the object hasn't already been saved before the CloseWindow action is carried out, a dialog box prompts the user to save the object before the macro closes it. If you have set the Warnings On argument of the SetWarnings action to No, the dialog box is not displayed and the object is automatically saved.

 

To run the CloseWindow action in a Visual Basic for Applications (VBA) module, use the CloseWindow method of the DoCmd object.


Access软件网交流QQ群(群号:198465573)
 
 相关文章
中英文混排资料提取方法  【十段  2008/1/5】
提取中英文句子实例  【十段  2008/6/18】
软件开发常用名词中英文对照  【Grant  2009/9/2】
利用 lstrlen 计算中英文混合字串的长度  【andymark  2009/9/29】
VB/VBA属性及事件中英文对照  【风行  2012/5/15】
常见问答
技术分类
相关资源
文章搜索
关于作者

周芳

文章分类

文章存档

友情链接