This content has been marked as final. Show 1 reply
Get(TemporaryPath)Returns the path to the temporary folder that FileMaker Pro uses for the current user, or the path that FileMaker Server uses on the system.The temporary folder name begins with S, followed by a number representing the session of the database engine during which the operation took place. Because your operating system controls the location of temporary files, the exact path returned may be different from the examples shown. The actual path returned also depends on which product (FileMaker Pro or FileMaker Server) is executing the function.In FileMaker Pro, the temporary folder and any files placed in it are deleted when FileMaker Pro is terminated. In FileMaker Server, each schedule runs in its own session; once the schedule is completed, the session terminates and the temporary folder is deleted.•/%HomeDrive%/WINDOWS/Temp/S<n> (Windows XP)where %HomeDrive% is an environment variable that returns the name of your home drive on your hard disk.%UserProfile% is an environment variable that points to the directory where the profile of the current user is located.S<n> is the name of the folder in which the temporary files are placed (for example, S1); <n> is a number representing the database engine session during which the operation took place.where DriveName is the name of your hard disk.S<n> is the name of the folder in which the temporary files are placed (for example, S1); <n> is a number representing the database engine session during which the operation took place.You shouldn't have to print the report unless you have a runtime. Try using Save Records as PDF with the email option on your Report Layout and specify the output file using the TemporaryPath.