Something like this:
Code:

$System = CreateObject("Kixtart.System")
If @ERROR <> "0"
?"Error creating a kixform."
?@ERROR @SERROR
EndIf



It tries to create a kixforms form and checks the @error for success or failure. If success carry on doing your stuff if failure display the failure.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.