| View previous topic :: View next topic |
| Author |
Message |
| JohnW
| | Joined: 16 Dec 2005 | | Posts: 8 | |
|
Posted: Fri Dec 16, 2005 10:42 am Post subject: Sequencing number dynamic variable |
|
|
Hi there. Would you consider adding a sequencing number variable for dynamic file exporting? My current folder export scheme is:
%yyyy%M%y%-1.pdf (2005M350-1.pdf)
Can you add logic to detect the -1 counter, so on the second run of this report it would generate 2005-M-350-2.pdf, on the third .. -3, and so forth? It would help when the report had to be rerun multiple times within the same day. I experimented with the %#% parameter, but it didn't seem to work for what I needed.
Thanks again for such a great program! |
|
| Back to top |
|
 |
| kgroff Site Admin
 | | Joined: 27 Jan 2005 | | Posts: 694 | |
|
Posted: Fri Dec 16, 2005 3:22 pm Post subject: |
|
|
This %#% did do this at one time. It looks like this dynamic parameter was broken a long time ago when I added the ability to export to mulitple desitinations. Originally, I exported to the final destination, so %#% worked. With the multiple destination option, I export to a temporary directory and then copy/print/email this file. Once completed, I delete the temporary files That is way the %#% always yields 1. To fix this will take some effort, because I need to look into all the of the export directories to correctly generate a number.
In the mean time, you could add the %t% to you export to put a time stamp on them. |
|
| Back to top |
|
 |
| kgroff Site Admin
 | | Joined: 27 Jan 2005 | | Posts: 694 | |
|
Posted: Fri Dec 16, 2005 3:40 pm Post subject: |
|
|
| Version 6.0.3 fixes this issue. If you export to mulitple directories, the %#% will sequence to a common name the works in all export directores. |
|
| Back to top |
|
 |
| JohnW
| | Joined: 16 Dec 2005 | | Posts: 8 | |
|
Posted: Sat Dec 17, 2005 12:31 am Post subject: |
|
|
| Thank you for the superfast turnaround! It seems to be incrementing properly now. |
|
| Back to top |
|
 |
|