Groff Automation Forum Index
Making software work for you
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in 

Log in to check your private messagesLog in to check your private messages   

Sequencing number dynamic variable

 
Post new topic   Reply to topic    Groff Automation Forum Index -> Feedback
View previous topic :: View next topic  
Author Message
JohnW

Joined: 16 Dec 2005
Posts: 8
PostPosted: Fri Dec 16, 2005 10:42 am    Post subject: Sequencing number dynamic variable Reply with quote

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
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 694
PostPosted: Fri Dec 16, 2005 3:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
kgroff
Site Admin
Joined: 27 Jan 2005
Posts: 694
PostPosted: Fri Dec 16, 2005 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
JohnW

Joined: 16 Dec 2005
Posts: 8
PostPosted: Sat Dec 17, 2005 12:31 am    Post subject: Reply with quote

Thank you for the superfast turnaround! It seems to be incrementing properly now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Groff Automation Forum Index -> Feedback All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron