home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
TEXT
/
PDX_ALL.ZIP
/
TI367.ASC
< prev
next >
Wrap
Text File
|
1991-09-11
|
941b
|
67 lines
PRODUCT : PARADOX NUMBER : 367
VERSION : 1.X, 2.X, 3.X
OS : DOS
DATE : September 11, 1991 PAGE : 1/1
TITLE : HOW TO COPY EACH RECORD A SPECIFIED NUMBER OF TIMES
The following script will copy a record any number of times. The
script illustrates the use of the PAL commands ACCEPT, EDIT,
COPYTOARRAY and FOR. For additional information on these PAL
commands, see the PAL User's Guide.
@10,10
??"How many copies do you want of this record? "
ACCEPT "N" to x
EDIT "tbl" ;where "tbl" is your table name
COPYTOARRAY A ;copies your record to an array
END
FOR i FROM 1 to x-1
DOWN ;inserts a blank row
COPYFROMARRAY A ;copies the array to a blank row
ENDFOR