Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To get Random values from a dbf.
Message
 
 
À
30/03/2004 04:58:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00890690
Message ID:
00890813
Vues:
20
Tariq,

Cetin's select is the best way to go, but VFP might return more than 3 records if there is a tie, so you'll have to check _tally and adjust the result if it exceeds the number of rows you want.

>Now I want to brows only three records randomly from the dbf,such as 84871,95972,14587. What should be the source codes behind a click button?
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