6. Loading and Unloading Databases : Copying Individual Database Objects : Copy Applications
 
Share this page                  
Copy Applications
Copying or moving an application from one database to another can be done using the copyapp command.
The copyapp command syntax has two forms: copyapp out and copyapp in.
The copyapp out command copies database objects associated with a specific application from the database to a text file. These objects are entities such as forms, reports, and join definitions.
The copyapp in command copies these database objects into the desired database.
Copyapp does copy all of the following:
Forms referenced in 4GL, Query-By-Forms, and report frames
Reports referenced in report frames
JoinDefs referenced in Query-By-Forms frames
Copyapp does not copy any of the following:
Forms (compiled or non-compiled) referenced by the 4GL-call qbf command or used in embedded query language procedures
Reports referenced by the call report, call sreport, or call rbf 4GL command
Graphs referenced by the call graph 4GL command
For a complete description of the flags and parameters for this command, see the Command Reference Guide.