Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append Random values with Criteria
Message
De
31/03/2004 04:40:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Append Random values with Criteria
Divers
Thread ID:
00891100
Message ID:
00891100
Vues:
55
Dear Sir,

I want to append records between given numbers.
For example the values must between FirstNo=50 and LastNo=175
How is it possible?

range1=10
FirstNo=50
LastNo=175

CLOSE DATABASES
CREATE TABLE Random (cValue N(3))
FOR nItem = 1 TO range1 && Append number of records in range1
APPEND BLANK
REPLACE cValue WITH 1 + 100 * RAND( )
ENDFOR

Please Help
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform