>>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.