CURRENTCOMPANY Function (RecordRef)
Gets the current company of a database table referred to by a RecordRef.
Syntax
CurrentCompany := RecordRef.CURRENTCOMPANY
Parameters
RecordRef
Type: RecordRef
A RecordRef that refers to the table for which you want to find the company that is currently in use.
Property Value/Return Value
Type: Text or code
The name of the current company of Record.