4 Replies Latest reply on Jun 11, 2015 3:47 AM by davehob

    Export field contents - specifying target field via parameter


      I need a generic "Export PDF" script, to which I pass the target field and output file name as parameters.  Because I can't use a variable when specifying the target file, I'm trying to use object names, thus:


      Set variable [$targetFile; Value: (param1)]

      Go to object [Object Name: (param2)]

      Export Field Contents ["$targetFile"; Automatically open]


      But I'm getting an error 102. So obviously the "Go to object" is not making the field active.  What should I be doing?