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 an XLS or XLSX document into a sequence of report print jobs.
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"
MySpreadsheet is string = "c:\temp\prices.xls"
 
// Print in the report viewer
iDestination(iViewer)
// Add reports into the sequence
iSequencingAdd(RPT_Report_Portrait)
iSequencingAdd(RPT_Report_Landscape, 3)
// Add the general conditions in document format
iSequencingAddDoc(MyDocument)
// Add prices in the format of an XLS worksheet
iSequencingAddXLS(MySpreadsheet)
iSequencingPrint()
Syntax

Adding an XLS or XLSX document to a report printing sequence Hide the details

iSequencingAddXLS(<Document>)
<Document>: Character string
XLS or XLSX document to print. This document corresponds to:
  • a variable of type xlsDocument.
  • a Spreadsheet control.
  • an HFSQL memo corresponding to an XLS or XLSX document.

Adding an XLS or XLSX file to a report printing sequence Hide the details

iSequencingAddXLS(<File> [, <Password>])
<File>: Character string
Full path of a Spreadsheet file (XLS or XLSX file).
<Password>: Optional character string
  • Password to open the XLS or XLSX file to use,
  • Empty string ("") if the file has no password.
Remarks
  • XLS or XLSX documents are actually added when iSequencingPrint is called.
  • The numbering of Excel pages is ignored.
  • Only the current worksheet of XLS or XLSX document is added. To add other worksheets, use a variable of type xlsDocument and change the number of current worksheet with the Worksheet property.
Business / UI classification: Neutral code
Component: wd300etat.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help