Try using & instead of a . PRINT ShortLea whe tSelect='t' order by tidnum + OPTION PDF + |FILENAME &vFileName + |OPEN ON Dan Goldberg
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Bill Eyring Sent: Friday, October 29, 2010 12:28 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Printing to PDF File Error Message I'm the only one on the computer and the filename includes the current date and time to avoid that situation. Here is how I build the filename: set v vFilename= + ('LeaseComps'+(format(.#Date,'MMDDYY'))+'_'+(format(.#Time,'HHMMAP'))+'.PDF' ) I'm perplexed. _____ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Friday, October 29, 2010 3:22 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Printing to PDF File Error Message Bill: The obvious question is: is there any chance someone has the file open on their workstation? I also had this happen a couple times where I cancelled the printing to the PDF file as it was in the middle of doing it, and so created some kind of "lock" on the PDF file. In those cases, exiting Rbase and coming back in seemed to clear it up. Karen Using latest release 9.0.4.11027. When I print a report with the PDF option I get the following ERROR message. There was an error opening this document. This file is in use by another application. I am using Adobe Acrobat Reader 9 Version 9.3.4 The code in my eep is as follows; PRINT ShortLea whe tSelect='t' order by tidnum + OPTION PDF + |FILENAME .vFileName + |OPEN ON

