CompanyName

ACCPAC Common Controls

AccpacSession.CompanyName

Returns the database name of the company associated with the current open session.

Property CompanyName as String
(read-only)

Remarks

This property is only available after the session is opened. It returns an empty string ("") if the session is not open.

The company name returned is the name of the database set up in ACCPAC Database Setup (for example, "SAMLTD"). It is not the name defined in the Company Profile UI of ACCPAC Common Services.