Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total Page number? Fail in show _pageno on Maximum Value
Message
From
03/04/1998 20:48:38
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00089164
Message ID:
00089491
Views:
37
>>I want to show the Page Header like:
>>
>>P. 3/10
>>
>>where 3 is current page and 10 is totalpage
>>I divide them into two fields:
>>
>>'P. ' + alltrim(str(_page_no)) + '/'
>>
>>and _pageno (With using Maximum value on print!)
>>
>>of cos, there will be:
>>P. 3/ ****** Artrisk means undefine! x_X'
>>
>>where many spaces....
>>of cos got problem on one digit page_no to three digit page_no
>>on dividing into two Fields!!
>>
>>How to fix it?!
>
>Justok,
>Print as one item "P. "+LTRIM(STR(_pageno))+'/'+LTRIM(STR(maxpages)) - maxpages is calculated before printing.

Thanks, But fail to make the 'maxpages' in Variable setting....

Which function can find the maximum of _pageno ?!

of cos, not Max() has two variables... >~<'
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform