Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
***** when Set ReportBehavior 90
Message
From
29/05/2005 23:00:09
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018419
Message ID:
01018470
Views:
45
Thanks Sergey for the link to the Help. although I have not read about it before (even in "What's New in Nine" there is nothing about this), but is clearly covered in the VFP9 help. I think is an important migration issue, as it may invlove a lot of work if you have dozens of reports in your application.

As I plan to migrate to the VFP9 way of doing things (in the long run I think is very cost effective), I have converted to VFP9 several reports with the ****** problem. What I found is that I did not have to change fonts, or move the layout rectangle, I just resized them. What I mean by "I did not have to move them", is that when I resized the rectangle and it overlap with another rectangle (textbox) of the report, they did print OK, they never overlaped when printing.

This means that "ReportBehavior 80" measures better when a number fits in a layout rectangle than "ReportBehavior 90". When set to 80, I had no asterisks and the report printed OK; when I changed to 90, a got a lot of asteriks, so I resized fields (many of them overlap with others), but the printing was exactly the same as in 80. ReportBehavior 80 and 90 generated the same horizontal printing, exactly the same character widths and kerning. This means that when ReportBehavior was set to 90, I got many overlaping fields in the report designer, but none of them overlaped when printing (I set the figures to the maximun allowed in the format template). This is why I say that in 80 behavior the report designer is better synchronized with the report preview than in 90.

There where differences in the vertical spacing as said in the help, I could get 1-2 lines more in 90 mode per page (only when some field overflowed it's width and had two lines), but there where no differences in the horizontal rendering between 80 and 90 (standar fonts and no vertical lines or boxes).

>The report field truncation is documented in VFP9 help under Changes in Functionality for the Current Release -> Reporting. You've to make such fields wider in order to run reports under ReportBehavior 90.
>
>>
>>I have many reports that show perfectly in print preview when ReportBehavior is set to 80, but that show ****** in many figures when ReportBehavior is set to 90. I know that the asterisks are because the figure does not fit, but why it behave OK in 80? Moreover, the reports print nicely with out *****.
>
>>I could resize all of the textboxes, but it would be a lot of work, and besides in some of them I don't have spare space to make them wider.
>>
>>Is there any way to solve this, other than setting ReportBehavior to 80?
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform