HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 7 375
USING FORMSPEC IN BATCH MODE
BATCH MODE COMMANDS
COPY
Copies a form within the current forms file, or copies a form from another forms file to the
current forms file.
Syntax
[COPY
form
{TO
newform
IN
file
[TO
newform
]}]
Parameters
form
is the name of the form to be copied.
newform
is the name of the new form in the current forms file to which
form
will be
copied. The
newform
cannot already exist in the forms file. If
newform
already exists, an error will occur and no copying will be done. If TO
newform
is omitted, the new form created in the current forms file will
have the same name as the form it was copied from.
file
is the name of the forms file, if
form
is not in the current forms file.
Example
COPY PARTS TO PARTS2
copies FROM the form PARTS in the current forms file TO the new form PARTS2.
COPY PARTS IN INVFORMS TO PARTS2
copies FROM the form PARTS in the forms file INVFORMS TO the new form PARTS2 in the
current forms file.
COPY PARTS IN INVFORMS
copies FROM the form PARTS in the forms file INVFORMS TO the new form PARTS in the
current forms file.