Skip to main content

GetDefaultCompany

Structure

GetDefaultCompany(sTable: String): String:

Type

Function

Description

This function returns the default Company (if any) for the table specified. Default Companies are user-specific, as setup in User/Location Settings...Default Companies.

Parameters

sTable = IndySoft table (actual table name)

Return value

String

Example

ShowMessage('Default Company for Employee = ' & GetDefaultCompany("EMPLOYEE"))