Release 10.1A: OpenEdge Reporting:
Query/Results for UNIX

> ## Query directory file (.qd file)

> The .`qd` file is the query directory file. The name of the `.qd` file is the first eight characters of the `USERID` plus the .qd extension. If the `USERID` is blank then the name is results.qd. Results takes the `USERID` from `LDBNAME`(`1`), which is the first connected database.

> The `.qd` file contains the directory that maps the descriptions of reports, labels, and export programs to their filenames. To look at this file, use the Contents of a User Directory option on the Administration module’s main menu. Each user has their own reports, labels, and export files.

> The filenames have the format `rep` `xxxxx``.p`, `lbl` `xxxxx``.p`, and `exp` `xxxxx``.p`, where `xxxxx` represents a unique integer value. For example, the filenames have the formats shown in Table E–1.

> Table E–1: Formats for filenames
> Reports | Labels | Data exports
> --- | --- | ---
>     rep00001.p
>     lbl00001.p
>     exp00001.p
>     rep00002.p
>     lbl00002.p
>     exp00002.p
>     rep00003.p
>     lbl00003.p
>     exp00003.p
> and so forth | and so forth | and so forth

> If Results cannot find a `.qd` file in a user’s `PROPATH`, it creates one in the current directory. It also stores all saved reports, exports, and labels files in the same directory that holds the `.qd` file. If you move the `.qd` file, you must move the report, label, and export files with it. They must be in the same directory.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095