Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8/9 Function in detail band of report problem
Message
From
05/03/2006 00:04:39
 
 
To
02/03/2006 17:03:54
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101094
Message ID:
01101560
Views:
12
Hi Tracy.

>The problem doesn't occur until the user previews the report and during preview, clicks on the pages of the detail band (if only one page then for example he/she clicks on page 1 over and over) to zoom in and zoom out. Everytime the detail page is refreshed the function is called and the value of totcomcash is doubled, tripled, and on and on.

Have you tried using SET REPORTBEHAVIOR 90? That would eliminate the problem because the rendering is just done once rather than every time the user moves from page to page or zooms in and out. Of course, that might have other consequences (numeric fields may need to be resized to avoid displaying ****), but it might be something you want to plan on doing for the long run.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform