Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way around this
Message
 
To
16/07/2006 06:39:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01136462
Message ID:
01136796
Views:
15
Hello Srdjan,

SET REPORTBEHAVIOR is scoped to the entire project. You can set it to 80 once in your startup routines. All reports that do not have an object clause will run in the 80 mode. For the reports that you want to run in the 90 mode, just include the object clause on your REPORT FORM line. This way each report can be upgraded as needed/desired without much effort.

Bob

>Hi Dana,
>
>You should consider building report execution wrapper class,
>which will set report behaiviour to 80 or 90 accordingly.
>
>While 95% of reports can be still succesfully built and run by old RE (80) there will be cases where you will need some of new features (multiple detail bands,HTML etc) so you should not just dismiss VFP9 reporting as unusable, but try to incorporate it in your reporting framework, in a such way that can pay you something back for your investment.
>
>By using exclusively 80 or 90 you will do some trade off, eighter speed
>or new features. By using them interchangeably you can get best of both worlds.
>
>2c
>
>
>>Thanks, Colin. We always remove printer information from the report. We've been doing that for years. I understand about paying a price. But this price seems to high. They've paid a lot of attention to speeding development, but it's not worth it at the cost of runtime sluggishness.
>>
>>Dana
>>
>>>Dana -
>>>
>>>In addition to what the others have said, make sure you are not saving the printer environment information with the report.
>>>
>>>VFP9 differs from VFP8 in that it referencs some newer printing DLLs in Windows (VFP8 uses some that were deprecated long ago!) and these have a tendency to hit the network looking for network printers when they really don't need to. Removing the printer driver information from the FRX can sometimes make a difference.
>>>
>>>As for new features vs speed, well, I think every programmer understands that you can't get something for nothing.
>>>
>>>- Colin
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Reply
Map
View

Click here to load this message in the networking platform