Newbies EM Posted October 10, 2003 Newbies Posted October 10, 2003 Hi, I need to let my FMP ULTD 6.0 application's users to export FM data into text (Tab separated) file. Now, I've reached this goal with a CDML "-script" instruction, but I also need that these text file have different name from time to time. I.E.: the first time user XXX produces the text file, this will be named XXX001.tab, the second time the same user produces another text file, this will be named XXX002.tab and so on. Is there anyone knows the way to dinamically renaming my exported files? Thank you. E.M.
Jeff Spall Posted October 10, 2003 Posted October 10, 2003 Hi, I think this has been discussed in the Applescript forum, which IMO is the way to go. I If you're on a PC, that's not much help If you really need an increment by one each time, I think you're gonna have to use a little database which creates a record each time the script is run and then call the value of its last "record number" field to get your export number. 'Cos I'm lazy and not really a wizz at Applescript I'd export the file with the name as normal and then run an Applescript that renamed it afterwards using a FileMaker field as the value. Better folk than I on the list would have a more elegant solution. You could even do that with a folder action. on adding items to the folder call your file name variable in from Filemaker by doing a search action set the name of file (thefilename) to the variable regards, jeff
Anatoli Posted October 12, 2003 Posted October 12, 2003 Dialog Magic plugin will do the job on both platforms.
Newbies EM Posted October 13, 2003 Author Newbies Posted October 13, 2003 I'm currently using PC platform and soon moving to suse. Thanks. regards, E.M.
Newbies EM Posted October 13, 2003 Author Newbies Posted October 13, 2003 I'll try it as soon as I can. Thank you. E.M.
Recommended Posts
This topic is 7782 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now