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
24/11/2006 13:06:24
 
 
To
24/11/2006 12:39:58
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01172229
Message ID:
01172314
Views:
11
>I was working on a report today and I managed to write an expression longer than the allowed (255?) characters. As soon as I clicked OK I got a message that the FRX/FRT was invalid and the report closed making me loose all other changes also. I would have expected to loose this fields changes but not all other changes too. If this is a (unreported?) bug, please will the rightful person take it up with the concerned people, or is it just me?
>
>It's not just you. Easy to reproduce. Yuck!
>
>Interestingly, if you set _REPORTBUILDER="" and use the native, VFP8-era dialogs to enter your long expression (using the expression builder) then it *appears* to work ok, but if you take a look at your expression after saving, you can see that it has only saved the first 255 characters of your expression, and it will fail to run correctly.
>
>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.
>
>Thanks,
>- Colin

Would't it be an ever better solution to remove the 255 characters limit?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform