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: 1
sTable = IndySoft table (actual table name)
Return Value
String
Example
ShowMessage('Default Company for Employee = ' & GetDefaultCompany("EMPLOYEE")) |