Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DIMENSION returns
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01151573
Message ID:
01151577
Vues:
31
Sergey,

Thanks a million. Guess I'll need to make a change in my code.



>The size of arrays in pre-VFP9 versions is limited to 65000 items. With 4 columns it comes down to 16250 rows. It's documented in Visual FoxPro System Capacities help topic.
>
>>The following snippet has been in my program for over 4 years now....
>>
>>
>>IF USED("nameplatv") AND RECCOUNT("nameplatv") > 0
>> PUBLIC gaRecords
>> DIMENSION gaRecords(RECCOUNT("nameplatv"),4) && Establish array
>> .......
>>
>>
>>Nameplatv is a cursor that contains the currrently selected customer's nameplate records.
>>
>>Why would the line DIMENSION gaRecords(RECCOUNT("nameplatv"),4) all of a sudden start returning the error "Invalid Subscript Reference"?
>>
>>Is there a limitation on the DIMENSION command? I've read the help menu and have seen nothing to indicate that.
>>
>>The customer record I'm dealing with has 16,357 records.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform