Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matching records to array
Message
De
20/09/2001 00:57:49
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Matching records to array
Divers
Thread ID:
00558604
Message ID:
00558604
Vues:
46
hi everyone,

dimension MyArray[1,2]
MyArray[1,1]="0001"
MyArray[2,1]="0003"
MyArray[3,1]="0005"
MyArray[4,1]="0007"

MyTable:
Code Name
0001 A
0002 B
0003 C
0004 D
0005 E
0006 F
0007 G
0008 H
0009 I

are there any simple command to save the Name field from MyTable to MyArray with matched code? The result should be:
MyArray[1,2]="A"
MyArray[2,2]="C"
MyArray[3,2]="E"
MyArray[4,2]="G"

Tanks in advance!
Jimi
error(503): file structure failure, signature file corrupted.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform