Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DIMENSION returns
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01151573
Message ID:
01151577
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform