Dear,
To whom it concerns ....
Problem : Sometimes page numbers are outputted incorrectly on the layout of the printout. As long as the page count is less or equal to 9, pages are shown correctly. When more than 9 pages, output is wrong.
Smartform code : &SFSY-PAGE&/&SFSY-FORMPAGES&.
Example : Page numbering shown as : 1/, 2/, ... 10/11, 11/11 (as of 10 it's correct)
Solution :
In the smartform :
- The WINDOW definition where you use the coding : set window type to FINAL (instead of secondary window)
- Use &SFSY-PAGE&/&SFSY-FORMPAGES(4ZC)& instead of &SFSY-PAGE&/&SFSY-FORMPAGES&
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11011430/viewspace-1029884/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11011430/viewspace-1029884/