Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Randomly records
Message
De
24/07/2004 04:44:25
 
 
À
20/07/2004 03:46:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00926023
Message ID:
00927564
Vues:
20
Hi,

>>
select sys(2015) as SortOrder,* from ac ;
order by 1 descending
>>

Repeated calls to SYS(2015) won't give a random sequence.

Can you use something on the lines of:
INDEX ON RAND() TAG idx_rand
SET ORDER TO idx_rand
LOCATE
COPY NEXT 4500 TO ....
HTH,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform