Page 1 of 1

Suggestion for future version

Posted: Tue Dec 28, 2004 4:22 pm
by MG_(Guest)
I don^t know if this is in version 11 or not. I think it would be worthwhile. Maybe others would agree.____In the majority of reports I create, I like to have a "Page X of Y" in the header. It would be nice if there were a built-in FUNCTION or VARIABLE which did this automatically - just as the PAGENO is now automatically in there.____As it is, I have to create a CALCULATED FIELD (which I call PageText), and then define it with:____"Page " + LTRIM(RTRIM(STR(PAGENO(),4))) + " of " + LTRIM(RTRIM(STR(LASTPAGE(),4)))____Then I insert this Calculated Field into the Report. It^s be nice if it were always there. Along these same lines, it^d be nice if you included the ALLTRIM(), so we don^t have to use LTRIM(RTRIM()) each time.____Thanks.

=> RE: Suggestion for future version

Posted: Wed Dec 29, 2004 8:59 am
by kfleming
You can create User Defined functions for just this purpose in R&R. A UDF allows you to build your own functions based upon what is already available in R&R.____Kathleen__R&R Support