Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How large can I set Stacksize?
Message
From
27/10/2022 11:31:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685149
Message ID:
01685153
Views:
45
Likes (1)
>>Which version of VFP are you using? I remember there was a problem with too long reports, but I think it was fixed in newer versions. And changing the stacksize isn't a cure, AFAIR.
>
>We're using VFP 9 SP2

I think there's something wrong in the report itself - you may have too many function calls in it, and Fox's report engine is notorious for repeatedly calling such code - one function on one field may be called several times per record. While I don't remember ever having stack problems, I had one of speed, and what made it fast enough was to move most of the function calls - those that would calculate values or compose strings - out of the report into the code preparing the cursor, and having those strings and values in additional fields, which the report would then use, with no calls made.

Without knowing what your report does I can't, of course, know whether this is applicable to your case at all, but I guess mentioning it won't hurt.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform