Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page n of m from a program
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00854111
Message ID:
00854367
Views:
39
[snip]
>Documenting the code in the wrapper is a plus, but then it should be an absolute rule that all reports are run trough the wrapper, otherwise it may still be a little puzzling what the myVar represents in the report.
>Not as easy as I wished...
[snip]
Doru -
ok -
extend your wrapper a bit - Lisa's method absolutely does a two pass report run. First Pass is to get the total number of pages - the 'M' here in your original post, represented in her CODE as 'myvar' . Don't like 'myvar' ?
Call it something else - its just a pseudo variable name at this point anyway.

But plan for your wrapper to do the first pass, regardless of any of the output options you may be 'trapping' there in your wrapper.

wrappers are cool - make this one more 'generic' to handle your page counts .
'wrap' your head around it some more, and see if you actually have an entry point to do some code changes..
hth - mondo regards [Bill]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform