Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Line incremental
Message
De
15/04/1999 20:49:56
 
 
À
15/04/1999 20:08:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00208826
Message ID:
00208833
Vues:
24
>hi there
>i tryin to get the next thing
>i go a table that i need to scan (scan.. endscan)
>i have a line (initial width = 1) to increment the line.with WHILE the scan its running
>the line MUST end in the line.width = 200
>how can i do to get that the line with ENDS in 200 EXACTLY when the scan ENDS to run?
>

Hola Augusto,

Try something like this:
 LOCAL nIncrement, nLineWidth

nIncrement = RECCOUNT("myTable")/200
nLineWidth = 0

USE myTable

SCAN
    <do things>
    myLinewidth = myLinewidth + nIncrement
ENDSCAN

USE

? myLineWidth = 200 (returns .T.)
That should do it.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform