Report 属性 (权限)Report.Tag property (Access)

存储有关窗体、 报表、 节或控制一个 Microsoft Access 应用程序所需的额外信息。Stores extra information about a form, report, section, or control needed by a Microsoft Access application. 读/写 StringRead/write String.

语法Syntax

表达式标记expression.Tag

_表达式_一个代表**Report** 对象的变量。expression A variable that represents a Report object.

说明Remarks

可以输入一个最长为 2048 个字符的字符串表达式。You can enter a string expression up to 2048 characters long. 默认设置是零长度字符串(" ")。The default setting is a zero-length string (" ").

与其他属性, Tag 属性设置不会影响对对象的属性。Unlike other properties, the Tag property setting doesn't affect any of an object's attributes.

可以使用此属性可为对象指定一个标识字符串,而不影响任何其他属性设置或产生其他副作用。You can use this property to assign an identification string to an object without affecting any of its other property settings or causing other side effects. 当您需要检查窗体、 报表、 节或作为变量传递给过程的控件的标识时, Tag 属性是非常有用。The Tag property is useful when you need to check the identity of a form, report, section, or control that is passed as a variable to a procedure.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.