Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables error
Message
 
À
05/12/2000 18:36:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00448532
Message ID:
00449826
Vues:
8
>>>>Hi Fred,
>>
>>Tried that - went to 4096 - no difference... Problem dissappeared when I put the startup code into the Run of the ActiveDoc?!
>>
>>
>
>
>Glad you've got it working. But are you using the CONFIG.FPW that you think you are? Does SYS(2019) show you the correct CONFIG.FPW file?

Yes it does. It should'nt have a problem even without it; the code was just a test and had under 10 variables and a grid displaying 4 fields in a table.

>
>
>>>>
>>>>I do have a CONFIG.FPW file with the MVCOUNT set to 2048. Also the variable count is small enough not to require that setting. As I said, it runs fine when the startup PRG is run, or if the project is compiled without the ActiveDoc class.
>>>>
>>>>>>I'm getting my feet wet with trying to run an application in a browser.
>>>>>>Everything works fine until the ActiveDoc class is added and set as main. it runs a short loader program which runs a form with a grid in it.
>>>>>>I get the error above whether I run it within VFP or use the run activedoc option in the tools menu.
>>>>>>If run the prg file it runs fine.
>>>>>>Anyone with suggestions as toi what I'm doing wrong?
>>>>>>
>>>>>>TIA
>>>>>
>>>>>Do you have a CONFIG.FPW that's being used by your application? If not, you'll need one with a line that has MVCOUNT=2048 or whatever number you may need. For VFP6, I think the default value is 1024. This setting will change the number of simultaneous variables you can have defined, and can only be adjusted by this entry in your CONFIG.FPW file.
>>>
>>>Then I suggest you try raising the number higher than 2048. Does it crash in the development environment or only in the run-time? If it's only in the runtime, you might not be using the CONFIG.FPW you think you are.
>>>
>>>If it crashes in the development environment, when it crashes, do a SUSPEND and then do a DISPLAY MEMO to see exactly how many variables you have defined. You might be surprised.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform