I'd like to have a page number in the format of "X OF Y PAGES" at the right bottom of each page. I tried the following code for a pdf result but it's just displaying "Page *{thispage} of &num" literally. Can anyone help with this? Thanks!
* create the file with the number of pages */
ods results;
ods pdf file="c:\temp\pagenumb.pdf" compress=0;
footnote j=r "Page *{thispage} of &num";
%pdf_code;
ods pdf close;