trying to variably name an records export
I can't find a solution to this so hopefully you can help. I am writing a script to export records to a new file but I can't get the export to have a flexible name.
I would like to name the export file after the record I am exporting (_Story ID) so I create a variable $storyid with that field as the content and then in the export to file box I put $storyid as the file name. The export is then just named $storyid.
What am I doing wrong?
Thanks in advance