ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a print of Word Processing document into a sequence of report prints.
Remark: The sequence of report prints allows you to print different reports one after another, and view them as one in the report viewer. You can add various types of documents in this sequence. For more details, see Sequencing reports.
Example
MyDocument is Document = "c:\temp\generalconditions.docx"
 
// Print in the report viewer
iDestination(iViewer)
// Add reports into the sequence
iSequencingAdd(RPT_Report1)
iSequencingAdd(RPT_Report2, 3)
// Add the general conditions in document format
iSequencingAddDoc(MyDocument)
iSequencingPrint()
Syntax
iSequencingAddDoc(<Document> [, <Password>])
<Document>: Type of element
Document to print. This document corresponds to:
  • WINDEV the name of a Word Processing control.
  • a variable of type Document.
  • the path of a Word Processing file (docx file).
  • an HFSQL memo corresponding to a Word Processing document.
  • a Buffer variable corresponding to a Word Processing document.
<Password>: Optional character string
  • Password to open the "docx" file (or document),
  • Empty string ("") if the file (or document) does not have a password.
Remarks
  • The Word Processing documents are actually added during the call to iSequencingPrint.
  • In this version, the reports and the sequenced documents keep their own numbering.
Business / UI classification: Neutral code
Component: wd300etat.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help