MS Access Environ() Function

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

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.