Article ID: 138095
Article Last Modified on 12/11/1999
DIMENSION thisform.xyz(RECCOUNT())
FOR x = 1 TO RECCOUNT()
thisform.xyz(x) = 0
ENDFOR
This dimensions the array xyz to the number of records in the open
table. The FOR loop initializes the elements of the array, which clears
the value of the check boxes so that they are not checked.
counter=0
FOR x = 1 TO RECCOUNT()
IF thisform.xyz(x) = 1
counter = counter + 1
ENDIF
ENDFOR
WAIT WINDOW STR(counter)
Additional query words: VFoxWin
Keywords: KB138095