Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF publishing and file access in impromptu

Status
Not open for further replies.

b1ffa

MIS
Nov 11, 2002
7
GB
I currently use scheduler to produce pdf versions of impromptu reports. These are placed on a file server so that users can access them. The users tend to forget to close the pdf reports down when they use them, which prevents my macros from over writing the old version of the report. I used to have an error trap in my macro that published the reports to a different folder, but since I have moved to impromptu 7 on an XP box I get an error dialog saying that the pdf file I am trying to create is locked by another user. This stalls my macro, and all other reports that have been scheduled.

Does anyone know how to either check whether a file is open, or kick a user off the file so that it can be updated?
 
I tend to email my pdf reports so I don't have that problem. Could you not create them in a local non-shared directory and then have another task that tries to copy them over to the shared area with an error trap that quits from the loop if the copy fails?

Simon Rouse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top