>>someone in Taiwan cream for help as _pageno is only 4 digits!!
>>I donno why need to print so much?
>>
>>But is It a Bug of VFP???
>>I want to know how to add a NEW define variable in report!!
>>Because I give following advise to him:
>>
>>There should be No Zero Page, if Zero, don't print!
>>i.e. when zero again means 10,000 or multiple of 10,000 pages !!
>>
>>* Init Value of OverPage2 is Zero!!
>>
>>If _pageno = 0
>> OverPage2 = OverPage2 + 1
>>endif
>>
>>* Printing Field Content:
>>
>>IIF(OverPage2,
>> ALLTRIM(STR(OverPage2))+ALLTRIM(STR(_pageno)),
>> ALLTRIM(STR(_pageno)))
>Justok never had a chance to try the reality but _pageno max value is 32767. I think your friend got four digit by limiting the mask.
>Cetin
ic...... Thanks, Actually I think it is crazy to print over 10K paper...
Too waste paper la, no matter how useful in business... @_@'
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.