CompanyList: Object
Returns an object that lists company names.
CompanyList object has the following methods:
Method |
Description |
|---|---|
CompanyBackupPath(Index: Number): String |
Returns the company backup path. |
CompanyCode(Index: Number): String |
Returns the company code. |
CompanyComLimit([Index: Number]): Number |
Returns the company maximum COM users. |
CompanyID([Index: Number]): Number |
Returns the Company ID. |
CompanyMaxPayees([Index: Number]): Number |
Returns the company maximum Payroll payees. |
CompanyName(Index: Number): String |
Returns the company name. |
CompanyPath(Index: Number): String |
Returns the location of company files. |
CompanyType(Index: Number): String |
Returns the company type, either Live, Test or Demo. |
CompanyTypeDesc(Index: Number): String |
Returns the company type description. |
CompanyUserLimit([Index: Number]): Number |
Returns the company maximum users. |
CompanyWebLimit([Index: Number]): Number |
Returns the company maximum web users. |
For example:
Dim Companies as Object
Companies = CompanyList
documentObject(Companies)
For x = 0 to (Companies.Count - 1)
Print Companies.Item(x) & " " & Companies.CompanyID(x) & " " & Companies.CompanyCode(x) & " " & Companies.CompanyName(x) _
& " " & Companies.CompanyType(x) & " " & Companies.CompanyTypeDesc(x) & " " & Companies.CompanyPath(x) _
& " " & Companies.CompanyBackupPath(x) & " " & Companies.CompanyComLimit(x) & " " & Companies.CompanyUserLimit(x) _
& " " & Companies.CompanyWebLimit(x) & " " & Companies.CompanyMaxPayees(x)
Next x