October 10, 200322 yr Newbies 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.
October 10, 200322 yr 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
October 13, 200322 yr Author Newbies I'm currently using PC platform and soon moving to suse. Thanks. regards, E.M.
Create an account or sign in to comment