Contents of the FRM2PRG2.DOC file
FRM2PRG Version 2 Documentation
I. Overview . . . . . . . . . . . . . . . . . . . . . . . 1
A. What It Is . . . . . . . . . . . . . . . . . . . . . . 1
B. What Good Is It? . . . . . . . . . . . . . . . . . . . 1
C. Usage . . . . . . . . . . . . . . . . . . . . . . . . 1
1. Command-line Switches . . . . . . . . . . . . . . . 2
2. Examples . . . . . . . . . . . . . . . . . . . . . 2
II. Limitations . . . . . . . . . . . . . . . . . . . . . . 3
III. History . . . . . . . . . . . . . . . . . . . . . . . . 3
IV. Registration And Sundry Commercials . . . . . . . . . . 5
V. Order Form . . . . . . . . . . . . . . . . . . . . . . 6
FRM2PRG Version 2 Documentation
I. Overview
A. What It Is
This program attempts to convert a dBASE FRM file to a PRG (procedure) file. If
you don't know what one or both of those are, stop now. This program is not
for you.
If you're masochistic enough to use dBASE IV at this point, FRM2PRG is also not
for you. Modify the templates for dBASE IV instead, if you have a coupla spare
months [grin].
B. What Good Is It?
I often prototype reports using MODIFY REPORT, then when the thing gets OK'd or
whatnot I write a custom PRG to do the report, adding some enhancements.
FRM2PRG enables me to generate a PRG file directly from the FRM file, and then
make any modifications.
FRM2PRG should make life easier when converting someone else's app.
...and, of course, those of you who actually *use* FRM files with compiled apps
can now compile them right into the EXE files as PRGs. This may cut down on
EXE size (or then again, it may not).
C. Usage
At the DOS prompt: FRM2PRG {switches} filename{.frm}
Expressions in curly braces are optional.
Output is written to the console by default, but can be also sent to a file
(see below). The output file contains several procedures, one of which is
called "xxx_main" ("xxx" defaults to the first three letters of the FRM
filename unless specified--see "switches" below). As FRM files do not contain
the name of the database file(s) used, there are some places left to fill it
(them) in. After setting up your DBFs and relationships, etc., you can:
SET PROCEDURE TO