ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a print of Word Processing document into a sequence of report prints. Note: Chaining report printouts allows you to print different reports in succession, visible as a single printout 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 or secret string
  • Password to open the "docx" file (or document),
  • Empty string ("") if the file (or document) does not have a password.
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "Ansi or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
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: 11/23/2024

Send a report | Local help