File Functions

File functions enable an application to use predefined report scripts, data files and calculation scripts against the active database. There are also functions for importing and exporting data to and from both text and binary files.

Function Description
EssArchiveBegin()Prepares database for archive by setting READ-ONLY status.
EssArchiveEnd()After archive, returns database status to READ-WRITE.
EssCalcFile()Executes a calc script against the active database from a file.
EssExport()Allows the exporting of data from the current database to a text file.
EssImport()Allows the importing of data from text files and other sources to the current database.
EssListDbFiles() Retrieves information on specified index and data files
EssReportFile()Sends a report specification to the active database from a file.
EssSetDefaultCalcFile() Sets the default calc script for the active database from a calc script file.
EssUpdateFile()Sends an update specification to the active database from a file.
EssDisplayTriggers()Returns a list of all triggers associated with a database.
EssMdxTrig()Manipulates triggers based on the operations contained in an MDX language file.
EssListSpoolFiles()Returns a list of all the spool files associated with a database.
EssGetSpoolFile()Returns a specific spool file associated with a database.
EssDeleteAllSplFiles()Deletes all the spool files associated with a database.
EssDeleteSplFile()Deletes a specific spool file.