QBOpenCompanyFile Property
The file currently open in QuickBooks.
Syntax
public String getQBOpenCompanyFile();
Default Value
""
Remarks
The name of the file currently open in QuickBooks, specified completely with the path.
A query is submitted to QuickBooks when the value of this property is read. The empty string will be returned if no file is open, if QuickBooks is open in an access mode incompatible with QBConnectionMode, or if an error occurs.
If the value of this property is nonempty, the class may interact exclusively with the open file.
This property is read-only and not available at design time.