Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array Problem
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00878606
Message ID:
00878610
Vues:
20
I figured out what I did wrong. The code I listed was in the LOAD event instead of ACTIVATE. Thanks for your help, though.

Ken


>Ken,
>
>It's much easier to do with a query.
SELECT * FROM mytable ;
>  INTO ARRAY myarray
>
>>I'm trying to load an array with the contents of a table. The table has 5 records and four fields. My code is:
>>DIMENSION myarray(5,4)
>>SELECT mytable
>>GO TOP
>>COPY TO ARRAY myarray
>>DISPLAY MEMORY LIKE MYARRAY = nothing.
>>If I dimension the array(4,4) the first 4 records populate the array.
>>
>>What am I doing wrong?
>>
>>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform