Save error capture to record
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)]
Set Field[IMAGES::errorimages; GetAsText(IMAGES::Image1)]
But this appears to be way off mark. Thanks for any input.