Gets the current company name.

Name := COMPANYNAME

Property Value/Return Value

Type: Text constant or code

The name of the company, or an empty string if no company has been selected.

Example

This example requires that you create the following variables and text constants.

Variable name DataType Length

CompName

Text

1024

Name ConstValue

Text000

The name is %1.

 Copy Code
CompName := COMPANYNAME;
MESSAGE(Text000, CompName);

See Also

Concepts

Database