Log File

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 2004.3


Log File String

ParameterTypeDescription
This command does not require any parameters
Function resultStringLong name of the database log file

Description

The Log File command returns the long name (i.e. the complete pathname of the file, including its name) of the current log file of the open database.

If the database is operating without a log file, the command returns an empty string and the system variable OK is set to 0.

If the database operates with a log file, the system variable OK is set to 1. The pathname returned by the command is expressed with the syntax of the current platform.

WARNING: If you execute this command from a 4D Client machine, only the log file name is returned, not the long name

See Also

SELECT LOG FILE.

System Variables or Sets

If the database is operating without a log file, the system variable OK is set to 0; otherwise, it is set to 1.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next