Name of data file used. If this name is not specified, HExportJSON handles the last data file used by the last function for HFSQL management (starting with the letter H).

<JSON file>: Optional character string

Full path of JSON file to generate.

<Items to export>: Optional character string

List of names of items to export. The names are delimited by single quotes and they are separated by commas or CR characters. The names of composite key items, binary items and binary memo items are ignored.If this parameter corresponds to an empty string (""), all the items of the data file (except for the composite keys, binary keys and binary memo keys) are exported.

<Options>: Optional constant

Specifies the creation mode of JSON file:

hExpCreation

If the JSON file already exists, it is overwritten. An error occurs if this option is not specified and if the JSON file exists.

hExpBreakable

The export can be interrupted by pressing the Esc key on the keyboard. If the export is interrupted, the JSON file is valid and it only contains the records exported before the interruption.

hExpNormal(default value)

Standard operating mode.

<Progress Bar>: Optional character string (with or without quotes)

Name of Progress Bar control or name of window used to show the progress of file creation.

Remarks

Exporting the query content

To export the query content, you must initialize the query (HExecuteQuery) before using HExportJSON.