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
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01172229
Message ID:
01172302
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform