Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a value that indicates whether the data of the table is saved on a per-company basis, and corresponds to the SaveDataPerCompany property of the table.
Syntax
public boolean dataPrCompany()
Run On
Called
Return Value
Type: boolean
true if the data is saved on a per-company basis; otherwise, false, and the data is saved globally for all companies.
Examples
The following example shows the retrieval of the value that indicates whether the data is saved on a per-company basis.
DictTable dt;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
print (strfmt("The table is saved on a %1 basis.", dt.dataPrCompany() ? "per company" : "global"));
}