THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access Environ() Function

❮ MS Access Functions

Example

Return a string that contains the value of an operating system environment variable:

SELECT Environ(1);

Definition and Usage

The Environ() function returns a string that contains the value of an operating system environment variable.

Syntax

Environ(number)

OR:

Environ(string)

Parameter Values

Parameter Description
number The numeric order of the environment string in the environment-string table
string The name of an environment variable

Technical Details

Works in: From Access 2000

❮ MS Access Functions