PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Not to be done
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
Overview
When generating a file on the Web server (PDF, HTML, ...), you must define a unique file name.
Several methods can be used to define a unique file name.
How to proceed?
To define a unique file name, you can:
  • concatenate the result of DateSys and TimeSys.
    For example:
    AFile is string = fWebDir() + "\" + DateSys() + TimeSys() + ".htm"
  • use a unique identifier found in the site database.
    For example:
    AFile is string = fWebDir() + "\" + Customer.Id + Order.Num + ".htm"
  • use fTempFile.
    For example:
    AFile is string
    AFile = fTempFile()
    AFile = fExtractPath(AFile, fFile)
    AFile = fWebDir() + "\" + AFile + ".htm"

Not to be done

The follow functions do not provide a unique file name:
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment