Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug? If an expression in a field is long then ok crashe
Message
From
28/11/2006 04:21:31
 
 
To
28/11/2006 03:12:28
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01172229
Message ID:
01172864
Views:
35
>>>>>> So, either way, there is a bug here. The only practical solution at this
>>>>>> stage will be to alter the ReportBuilder.App so that it checks for
>>>>>> expressions that are >255 characters in length, and doesn't allow
>>>>>> them. I will put in an enhancement request for SP2 for this on your
>>>>>> behalf.
>>>>>
>>>>> Wouldn't it be an ever better solution to remove the 255 characters limit?
>>>>
>>>>Possibly. I know which ER is more likely to be accepted though, as should everyone here who has been paying attention.
>>>
>>>You know more about the internals of VFP than I know, but I have seen many cases where it has been easier to remove a limit than creating workarounds.
>>
>>?? It's impossible to "remove" a limit - there's ALWAYS a limit. I think you mean "increase" a limit.
>
>If the source code somewhere has lines to limit a string to 255 characters, and these lines are removed, the limit is removed as I see it. There still will be a limit, that's another thing.

?? There used to be a limit, there still is a limit - it was never "removed", just increased.

>Just like they removed the limit of number of array elements, it used to be 65533 (65535?), now it's limited by the available memory.

These days it's easy to buy a quad CPU box with 32 (or more) GB RAM. Are you trying to tell me VFP can use that much RAM for arrays?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform