C
Clyde
My code loops through a recordset and creates a PDF file from a report on
each pass. It is necessary to rename the file before the next loop. It
takes about 4-5 secs before file creation is finished.
The rename line will fail until the file creation is complete. Currently I
trap that error and Resume until it completes (indicating that the file has
been created and renamed). For some reason this does not work on all
platforms. Anybody know a better way to guarantee file creation is complete
before code proceeds? Thanks.
each pass. It is necessary to rename the file before the next loop. It
takes about 4-5 secs before file creation is finished.
The rename line will fail until the file creation is complete. Currently I
trap that error and Resume until it completes (indicating that the file has
been created and renamed). For some reason this does not work on all
platforms. Anybody know a better way to guarantee file creation is complete
before code proceeds? Thanks.