共用方式為


Application.HtmlEncode Method (Access)

Converts a string to an HTML-encoded string.

Version Information

Version Added: Access 2007

Syntax

expression .HtmlEncode(PlainText, Length)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

PlainText

Required

Variant

The text string to encode.

Length

Optional

Variant

The number of characters to return.

Return Value

String

See Also

Concepts

Application Object

Application Object Members