Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie to ReportListener - Preview probs
Message
From
03/10/2006 20:13:31
 
 
To
03/10/2006 16:18:41
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01159111
Message ID:
01159188
Views:
20
Albert -

Someone suggested I try out the new ReportListener class to solve a problem.

What problem are you attempting to solve?

First off, any good "basics of" ReportListener articles out there

Any basic article won't take you any further than you've got, I think. Your code looks fine.
You are probably trying to run a report finely-tuned in previous versions of Fox and finding out that new-style reporting with GDI+ instead of GDI (because that is what you are doing when you employ a reportlistener or SET REPORTBEHAVIOR 90) requires additional report fine-tuning.

Try this helpfile topic for a start:
Using GDI+ in Reports

Some other links that might be informative:
Observations on Right-aligned labels in VFP9 Reports
Why do report layouts in VFP9 need wider field/expression controls than in VFP8 and earlier?

Secondly, when I was setting up my test environment to start learning, a wierd thing happened with previewing a report. [..] I get 3 of the columns of data disappearing (out of 5). I also get a memo field in the page headers not printing completely (it should print 6 lines of memo text but ends up printing 4 lines plus 1 line with "..." in it - nice of someone to add in the ellipsis :-) but I would rather it just print.

Glad you like the ellipsis. MSFT chose this as the default StringTrimming option precisely so that people would notice when their data wasn't able to be rendered in the space available.

Basically, try making your Field/Expression controls much bigger, or using picture/format strings where possible, and see where the limits are when using REPORT FORM .. OBJECT or REPORTBEHAVIOR 90. The limits are different from the old-style GDI rendering.

- Colin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform