AlwaysSaveInDefaultEncoding Property

Microsoft Access Visual Basic

expression.AlwaysSaveInDefaultEncoding

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The AlwaysSaveInDefaultEncoding property uses the following settings.

Setting Visual Basic Description
Yes True Use the default encoding specified by the Encoding when saving a data access page.
No False (Default) Use the original encoding of the data access page.

Note  The AlwaysSaveInDefaultEncoding property is available only by using Visual Basic.

The Encoding property can be used to set the default encoding.

Example

This example sets the encoding to the default encoding. The encoding is used when you save the data access page as a Web page.

Application.DefaultWebOptions.AlwaysSaveInDefaultEncoding = True