The information in this article applies to:
SUMMARYTo print a report with a footer that has a "Page # of #" format, you must use a user-defined function (UDF), as explained below. MORE INFORMATIONInclude the variable in the report where it is required: for instance, on the report layout, the footer would contain:
where _TOTPGS is the variable. Run the following code before the actual printing of the REPORT FORM statement, and you have the desired results:
REFERENCES"Commands & Functions," version 2.0, page C3-662 "Language Reference," version 2.5, page L3-820 Additional query words: REPORT FORM reportname PREVIEW
|
|
Last Reviewed: September 18, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |