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
Returns the name of the file currently generated.
Remark: This function is used to find out the name of the file currently generated in the events "Before printing the report again" or "Closing". This function is available for the programmed reports and for the reports created with the report editor.
Example
sFileName is string
sFileName = iCurrentFile()
Syntax
<Result> = iCurrentFile()
<Result>: Character string
  • Full name of the file currently generated,
  • Empty string ("") in the following cases:
    • the printout made is a direct printout on the printer,
    • the export (PDF, HTML, etc.) has not yet generated a file,
    • for scheduled printouts, the export is made via the print preview.
Business / UI classification: Neutral code
Component: wd290prn.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help