Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT 5.1d
Message
From
13/06/1999 02:11:10
 
 
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
Miscellaneous
Thread ID:
00229073
Message ID:
00229230
Views:
16
>I get this error when trying to run the Stonefield Database Toolkit for the first time against my Mere Mortals database. The error occurs when trying to validate the USERS table. Any explanations?
>
>SDT version:
>Error #: 22
>Message: Too many variables.
>Line #: 77
>Code: dimension taFieldList[lnTableFields, 6]
>Method: GETDBFSTRUCTURE
>Object: frmSDT.SDTDBCXMGR.OSDTMGR

Looks like lnTableFields got to be a pretty big number, or there are a lot of other arrays dimensioned as well. The default maximum for declared variables in VFP is 1024. You can change this, in the Config.fpw, I believe- and set it closer to the maximum allowable: 65,000. I apologize, but I can't for the life of me remember the setting- VARCOUNT or something. (Someone wanna jump in here?)


I would alert Doug to this. I have had the same problem with ome of his code and had to raise my limit. While it is workable, I would think a more desirable solution would be to be more careful with how many large arrays are in existence at any given time.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform