17. System Commands for the Forms-based Tools : copyform Command--Copy a Form to Another Database : Copy QBF Names and JoinDefs to a Text File
 
Share this page                  
Copy QBF Names and JoinDefs to a Text File
You can use the copyform command to copy a QBFName or a JoinDef definition from a database to a text file. The -q flag causes copyform to treat any names typed on the command line as QBFNames or to prompt for only QBFNames. The -j flag causes copyform to treat any names typed on the command line as JoinDef names or to prompt only for JoinDef names.
When using the copyform command, you can specify only one class of names at a time. For example, you cannot specify a form name and a QBFName in the same command. If you specify only the database name and the text file name on the command line, copyform prompts you for the class of name that you will enter:
Specify Forms? [y/n]
If you answer no, copyform asks:
Specify Qbfnames? [y/n]
If you answer no, copyform then asks:
Specify Joindefs? [y/n]
If you answer no, the copyform command does nothing. Specify a form name, QBFName, or JoinDef name. To end a list of QBFNames or JoinDef names, press Return, just as you end a list of form names.
If you specify the -q flag on the command line, copyform prompts you only for QBFNames. If you specify the -j flag on the command line, copyform prompts you only for JoinDef names.
When copyform copies a QBFName from a database, it copies the QBFName definition, the form definition, and JoinDef (if applicable) referenced by the QBFName.