Code:

If @ERROR = "0"
;do not write to file
Else
;write to file code goes here
EndIf

_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.