Nadya,
> What newsgroup? Where can I find info about it?
news://microsoft.public.fox.programmer.exchange> Yes, it was a solution, which we finally agreed. But may be first choice is even simpler.
Personally I don't like messing around with the DS like that. Your error object ought to be established early on in the main.prg IMHO that way it's there to handle any errors.