PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • WLanguage functions not recommended in a report
  • Print functions of WLanguage that can be used in a report
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WLanguage functions available for a report
Overview
Several WLanguage functions can be used in the processes of a report (created with the report editor).
However, some of them are not recommended such as the print functions specific to the print in WLanguage or the functions for accessing the records used by the report.
WLanguage functions not recommended in a report
The following functions should not be used in the processes of a report, blocks or controls. If these functions are used, the report execution may be incorrect.
Functions for accessing a record: All the HFSQL functions that modify a record in memory or the current record in the base file of the report are not recommended in the processes of a report, blocks or controls. Indeed, these functions may modify the browse performed in the base file of the report.

Important

The following functions are not allowed in Reports & Queries:
HAddUserHStopServerHChangeLogDir
HCopyFileHCreationHCreationIfNotFound
HDBCreationHWriteHImportHF55
HImportTextHImportText_55HFree
HMigrateLinkedCompositeKeyHModifyHModifyDatabaseRights
HModifyFileRightsHModifyServerRightsHModifyGroup
HModifyDatabasePropertyHModifyFilePropertyHModifyServerProperty
HCrossHRegenerateFileHDelete
HDeleteDatabaseHDeleteFileHDeleteGroup
HDeleteLinkHDeleteUserHViewToFile
Print functions of WLanguage that can be used in a report
The following print functions can be used in a report:
Versions 09 and later
iBorder
New in version 09
iBorder
iBorder
Prints a border at specified coordinates.
Versions 09 and later
iCloseReport
New in version 09
iCloseReport
iCloseReport
Stops printing the current report immediately.
Versions 09 and later
iConfigure
New in version 09
iConfigure
iConfigure
Configures the printer for a print performed in WLanguage:
  • by opening the configuration window.
  • by modifying the printer used for the current print.
Versions 09 and later
iCreateFont
New in version 09
iCreateFont
iCreateFont
Creates a new print font.
Versions 09 and later
iDidotFont
New in version 09
iDidotFont
iDidotFont
Selects the unit that will be used for the height of the fonts (created by iCreateFont): DIDOT point or PICA point.
Versions 09 and later
iDocumentCanceled
New in version 09
iDocumentCanceled
iDocumentCanceled
Used to find out whether the current print was canceled by the user.
Versions 09 and later
iDocumentPrinted
New in version 09
iDocumentPrinted
iDocumentPrinted
Allows you to find out whether the user has requested to print the document from the print preview.
Versions 09 and later
iEndReport
New in version 09
iEndReport
iEndReport
Forces the report print to stop.
Versions 09 and later
iEscape
New in version 09
iEscape
iEscape
Sends an ESCAPE command or a data command to a printer.
Versions 09 and later
iFont
New in version 09
iFont
iFont
Selects the default font.
Versions 09 and later
iForceComplement
New in version 09
iForceComplement
iForceComplement
Forces the printing of a Body Complement block.
Versions 09 and later
iInfoPrinter
New in version 09
iInfoPrinter
iInfoPrinter
Retrieves the characteristics of the current or default printer.
Versions 09 and later
iInitReportQuery
New in version 09
iInitReportQuery
iInitReportQuery
Initializes the query linked to the report (for a query with parameters).
Versions 09 and later
iInitReportQueryConnection
iInitReportQueryConnection
Initializes the query linked to the report.
Versions 09 and later
iLastFile
New in version 09
iLastFile
iLastFile
Returns
  • the full name of the last file generated during the print (PDF, RTF, text, ...).
  • the list of created duplicate files
Versions 09 and later
iListNestedReports
New in version 09
iListNestedReports
iListNestedReports
Returns:
  • the list of nested reports currently printed (reports run by iPrintReport in one of the processes of the report currently printed).
  • the list of sequenced reports currently printed (iSequenceAdd).
Versions 09 and later
iListPrinter
New in version 09
iListPrinter
iListPrinter
Returns the list of printers installed on the current computer.
Versions 09 and later
iMargin
New in version 09
iMargin
iMargin
Defines the "logical" print margins.
Versions 09 and later
iMMToPica
New in version 09
iMMToPica
iMMToPica
Converts the coordinates of a point (expressed in millimeters) into system coordinates.
Versions 09 and later
iNestedHeaderFooter
New in version 09
iNestedHeaderFooter
iNestedHeaderFooter
Prints (or not) the page headers and footers of nested report.
Versions 09 and later
iPageEnd
New in version 09
iPageEnd
iPageEnd
Forces the move to the next page during the report print.
Versions 09 and later
iPageHeight
New in version 09
iPageHeight
iPageHeight
Calculates the height of printable page (in millimeters) while taking the top or bottom margins into account.
Versions 09 and later
iPageHeightLeft
New in version 09
iPageHeightLeft
iPageHeightLeft
Calculates the available height (in millimeters) left on the current page while taking into account the defined margins (top or bottom).
Versions 09 and later
iPageNum
New in version 09
iPageNum
iPageNum
Returns or initializes the number of the page currently printed.
Versions 09 and later
iPageWidth
New in version 09
iPageWidth
iPageWidth
Calculates the width (in millimeters) of the printable page while taking the left or right margins into account.
Versions 09 and later
iParameter
New in version 09
iParameter
iParameter
Retrieves the configuration of the printer and configures the print.
Versions 09 and later
iParameterPDF
New in version 09
iParameterPDF
iParameterPDF
Defines the options for the generated PDF file.
Versions 09 and later
iParameterPreview
New in version 09
iParameterPreview
iParameterPreview
Configures the print preview:
  • display a message regarding the resources of current computer.
  • display (or not) each button found in the print preview.
Versions 09 and later
iPicaToMM
New in version 09
iPicaToMM
iPicaToMM
Converts the coordinates of a point (expressed in system coordinates) into millimeters.
Versions 09 and later
iPreview
New in version 09
iPreview
iPreview
Configures the print destination.
Versions 09 and later
iPrintBlock
New in version 09
iPrintBlock
iPrintBlock
Forces a report block to print.
Versions 09 and later
iPrintBodyComplement
New in version 09
iPrintBodyComplement
iPrintBodyComplement
Forces a body complement block to print while specifying the height of complement block.
Versions 09 and later
iPrintReport
New in version 09
iPrintReport
iPrintReport
Prints a report created with the report editor.
Versions 09 and later
iReportPrintingStatus
New in version 09
iReportPrintingStatus
iReportPrintingStatus
Returns the status of the current print.
Versions 09 and later
iReset
New in version 09
iReset
iReset
Re-initializes the print settings (margins, font, paper format, orientation, ...) stored in the print library.
Versions 09 and later
iRoundBorder
New in version 09
iRoundBorder
iRoundBorder
Prints a border with rounded outlines at specified coordinates.
Versions 09 and later
iSelectFont
New in version 09
iSelectFont
iSelectFont
Creates a new print font from the standard window for font selection...
Versions 09 and later
iSkipPage
New in version 09
iSkipPage
iSkipPage
Generates a page break: the corresponding code is sent to the printer queue.
Versions 09 and later
iSubstBlock
New in version 09
iSubstBlock
iSubstBlock
Substitutes a report block for another block while the report is printed.
Versions 09 and later
iTextHeight
New in version 09
iTextHeight
iTextHeight
Calculates the height of the font for the text to print (en millimeters).
Versions 09 and later
iTextWidth
New in version 09
iTextWidth
iTextWidth
Calculates the width (in millimeters) of the text to print, according to the specified font.
Versions 09 and later
iTransparentMagenta
New in version 09
iTransparentMagenta
iTransparentMagenta
Modifies the management mode of Magenta color in order for this color to be considered as being transparent (or not) in all the forthcoming prints.
Versions 09 and later
iWindowCancel
New in version 09
iWindowCancel
iWindowCancel
Configures the display of the window used to cancel the current print...
Versions 09 and later
iZoneHeight
New in version 09
iZoneHeight
iZoneHeight
Calculates the necessary height of a fixed-width area in order for the entire text using the current font to be printed in this area.
See also
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment