Print of the data window

zhaozj2021-02-16  44

Print of the data window

Usually we have handled printing from the start page, so good, then how should we handle the last page of the data window? I have encountered this problem, but later solved, the specific implementation method code is as follows:

// define a variable of type String ls_pagecount, the total number of pages for the current pass string ls_pagecount ls_PageCount = dw_master.describe ( "Evaluate ( 'PageCount ()', 0)") dw_master.object.datawindow.print.page.range = ' " ls_pagecount " "DW_MASTER.PRINT () where: DW_Master >>>>>>>>>>>>>>>>>> ('PageCount ()', 0)") >>> >>>> 0 indicates the last page of the data window

Marine

转载请注明原文地址:https://www.9cbs.com/read-26082.html

New Post(0)