Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question about indexes
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00522095
Message ID:
00522110
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Does anyone know how I can create an index that would allow me to set a random order? Thanks,
>John

John,
I'm not sure why you want this but, try:

=rand(-1) && seed the random number generator
index on int(recc()*rand()) tag randtag && build index nodes using a random number based on number of records in table

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform