13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

15.10 Functions of WLanguageMost WLanguage functions can be used in the processes of a report (created with the report editor). However,some of them are not re<strong>com</strong>mended, such as the print functions specific to WLanguage printing or the functionsfor accessing the records used by the report.15.10.1 WLanguage functions not re<strong>com</strong>mended in the processesThe following functions should not be used in the processes of a report, blocks or controls. If these functionsare used, the execution of the report may be incorrect.Print functions: iEllipse, iEndPrinting, iImageHeight, iPrint, iPrintBarCode, iPrintImage, iPrintWord,iPrintZone, iPrintZoneHTML, iPrintZoneRTF, iImageWidth, iLink, iNewLine, iXPos, iYPos, iSkipLine, iLine,iHLine and iVLine.Functions for accessing a record: All the HFSQL functions of WLanguage that modify the record in memory orthe current record in the base file of the report are not re<strong>com</strong>mended in the processes of the report, block orcontrols. Indeed, these functions may modify the browse operation performed in the base file of the report.These functions are: HAdd, HCreation, HCreationIfNotFound, HLast, HWrite, HReadxxx, HModify, HPrevious,HSetPosition, HFirst, HCross, HSeek, HBackward, HNext, HDelete, ...ImportantThe functions for modifying records (HAdd, HModify, HDelete, and so on) cannot be usedin <strong>Reports</strong> & <strong>Queries</strong>.15.10.2 Print functions of WLanguage that can be used in a reportThe following print functions can be used in a report:FunctionsiAddBookmarkiBorderiChangeSubReport<strong>Source</strong>iCloseReportiColumnEndiColumnNumiConfigureiConfigureReportiCreateFontiDidotFontiDirImageHTMLiDocumentCancelediDocumentPrintedEffectsAdds a bookmark into the print preview or dufing the export in PDF.Prints a border at the specified coordinatesModifies the report associated with a sub-report in a <strong>com</strong>posite report.Stops printing the current report immediatelyForces a column break in a multicolumn report.Returns the number of the current column (multi-column reports).Configures the printerConfigures the printer by opening the configuration window.Creates a new print fontSelects the unit that will be used for the height of the fonts (created by iCreate-Font): DIDOT point or PICA pointUsed to select the directory in which the images must be generated when printingin HTML format.Allows you to find out whether the current print was canceled by the userAllows you to find out whether the user has requested to print the documentfrom the print preview144Part 1: Report editor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!