Harry,
aerror() is indispensible when you are trying to get SPT running. You should wrap all calls to SQLExec() with your own udf or class method and have the wrapper always do the check and popup a display at the time of error in the dev environment.
>the secret of getting meaningful feedback from aerror is to check out the 5th column of the array. Found that one on some other dude's guide to SQL
>
>Think I'm finally getting somewhere!