Trying to do a write-data-element
vLog = hSAXWriter:WRITE-DATA-ELEMENT("OrderNo", TRIM(STRING(100 + FaktHode.Klientnr)) + TRIM(STRING(FaktHode.Ordrenr,"999999"))).
There is a lot of this writes, and I would like to find which of them that gives the error:
-- **The WRITE-DATA-ELEMENT attribute on the SAX-WRITER widget has invalid arguments. (4065)
I have tried to add a CATCH eError ......, but it does not hit that catch. I beleve there is something I do wrong trying to catch it, but what?