Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funky Preview Window
Message
 
To
24/11/2008 17:12:39
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01362540
Message ID:
01363948
Views:
20
>Another clue...
>With just one column heading object and one column data object (rendering correctly,
>with just one record in the output cursor), the method calls are as follows:
>
>EvaluateContents - Col 1 Head
>BeforeRender - Col 1 Head
>AfterRender
>EvaluateContents - Col 1 Data
>BeforeRender - Col 1 Data
>AfterRender
>
>When specifying two columns (i.e., 2 heading objects and 2 column data objects), I should get
>the same threesome for Col 1 Head, Col 2 Head, Col 1 Data, Col 2 Data. Instead, I get --
>EC Col 1 Head
>EC Col 2 Head
>BR Col 2 Head
>AR
>BR Col 0 Head
>AR
>EC Col 1 Data
>EC COl 2 Data
>BR Col 2 Data
>AR
>BR Col 0 Data
>AR
>
>In other words, I'm getting the right number of each method call, but in the wrong order.
>(The "Col 0" I ascribe to the nColumnNumber prop being reset at the wrong time.)
>Hmmmm...

Another thing to check ... make sure the object definitions are completely within the band you meant them to be. If they have been moved 1 pixel up or down in the the previous or next band, the report writer may think they "belong" to the wrong band.

Other than that .. I'm not sure what else to tell you. If you can zip up the code and the data in a small sample that I can run completely on my machine, I'll look it over when I get a chance .. but no guarantee how soon I can get to it. I'm swamped right now.
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform