home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
TEXT
/
PDX_ALL.ZIP
/
TI526.ASC
< prev
next >
Wrap
Text File
|
1991-09-11
|
983b
|
67 lines
PRODUCT : PARADOX NUMBER : 526
VERSION : ALL
OS : DOS
DATE : September 11, 1991 PAGE : 1/1
TITLE : SCAN LOOP TO PLACE THE RECORD NUMBER
IN A REGULAR FIELD
This is an example of a simple scan loop. The main purpose of a
scan is to examine each record of a table executing each group of
commands within the loop on each record. We make use of a table
called TEST that has a numeric field called Number.
View "TEST" ; Call the TEST table.
Editkey ; Simulates pressing [F9] to Edit Mode.
Moveto[Number] ; Move to the field named Number.
Scan ; Start the scan loop.
[] = Recno() ; Assign the record number to the field.
EndScan ; Quit the scan loop.
Do_It! ; Save the changes to the table.