Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternating Colors in Grids
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01098730
Message ID:
01098993
Vues:
16
Jerry,

You are better off using c(1) field in the cursor than creating a really long string that the grid has to keep searching. You can use one REPLACE to flush them all to '0' and use a loop to set the even rows to '1'

> Thanks. I tried doing a SCAN, but differently. After setting the index, I scanned every other RECNO into a property, separating them by commas, and told it to color the records whose comma+RECNO+comma were contained in the property. That worked fine, until I realized that scanning a large table would probably take too long. I'm going to test it later, anyhow.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform