Share via


FolderSuffix Property [Access 2003 VBA Language Reference]

You can use the FolderSuffix property to determine the folder suffix that Microsoft Access uses when you save a data access page as a Web page, use long file names, and choose to save supporting files in a separate folder (that is, if the UseLongFileNames and OrganizeInFolder properties are set to True.) Read-only String.

expression.FolderSuffix

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

Remarks

The FolderSuffix property represents the text displayed as a hyperlink.

This property is available only by using Visual Basic .

Newly created data access pages use the suffix returned by the FolderSuffix property of the DefaultWebOptions object. The value of the FolderSuffix property of the WebOptions object may differ from that of the DefaultWebOptions object if the data access page was previously edited in a different language version of Microsoft Access. You can use the UseDefaultFolderSuffix method to change the suffix to the language you are currently using in Microsoft Office.

By default, the name of the supporting folder is the name of the Web page plus an underscore (_), a period (.), or a hyphen (-) and the word "files" (appearing in the language of the version of Microsoft Access in which the file was saved as a Web page). For example, suppose that you use the Dutch language version of Access to save a file called "Page1" as a Web page. The default name of the supporting folder would be Page1_bestanden.

The following table lists each language version of Office, and gives its corresponding LanguageID property value and folder suffix. For the languages that are not listed in the table, the suffix ".files" is used.

Language

Example

This example returns the folder suffix used by the data access page ("Inventory"). The suffix is returned in the string variable strFolderSuffix.

strFolderSuffix = DataAccessPages("Inventory").WebOptions.FolderSuffix

Applies to | DefaultWebOptions Object | WebOptions Object

See Also | OrganizeInFolder Property | UseDefaultFolderSuffix Method | UseLongFileNames Property