PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Returns the name of the file currently generated.
Note: This function is used to find out the name of the file currently generated in the "Before printing the report again" process or in the "Closing" process of the report. 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 (""):
    • if the print performed is a direct print on the printer,
    • no file was generated by the export (PDF, HTML, ...) yet,
    • for a programmed print, if the export is performed via the print preview.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Linux wd230prn.so
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment