Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total Page number? Fail in show _pageno on Maximum Value
Message
 
To
03/04/1998 20:48:38
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00089164
Message ID:
00089529
Views:
31
>>>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... >~<'

I don't think there is a function to find the maximum of _pageno. You would have to calculate this.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform