AnsweredAssumed Answered

Save error capture to record

Question asked by jla_1 on Jan 4, 2010
Latest reply on Jan 8, 2010 by comment_1

Title

Save error capture to record

Post

I'm trying to save the field contents from an export image script to a record or list when an error is encountered.  Using the Export Field Contents in a loop, I recurse through the records and export the images to a folder.  When an error is encountered, the script halts.  I used Error Capture on to suppress the error, but I would like to save the the name of the image that created the error (eg; missing) to a list or table/record.  I was trying something like:

 

 Set Error Capture [On]

--

--

--

loop for image export

--

--

Set Field[IMAGES::errorcapture; Get (LastError)]

If[IMAGES::errorcapture<>0]

  Set Field[IMAGES::errorimages; GetAsText(IMAGES::Image1)]

End If

 

But this appears to be way off mark.  Thanks for any input.

Outcomes