AlwaysSaveInDefaultEncoding Property

Microsoft Access Visual Basic

AlwaysSaveInDefaultEncoding Property

       

You can use the AlwaysSaveInDefaultEncoding property to specify or determine whether the Web browser opens a data access page with its default or original encoding (character set). Read/write Boolean.

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.
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