Tempblob – How to Use

 

CLEAR(Tempblob);
Tempblob.INIT;
Tempblob.Blob.CREATEOUTSTREAM(Writestream);
XmlString.WRITE(writestream);
Tempblob.INSERT;
Tempblob.CALCFIELDS(Blob);
Tempblob.Blob.CREATEINSTREAM(Readstream);
XMLPORT.IMPORT(XMLPORT::”Name of Xmlport”,Readstream);

Variable – DataType
Tempblob – Record – Tempblob
XmlString – Bigtext
Writestream – OutStream
Readstream – InStream

2 comments on “Tempblob – How to Use

    • Hey Macro,

      It all depends how you have designed your code. Many times we use to take it as a Temporary and sometimes we don’t, If further most you are using the same Reference then you shouldn’t otherwise you can.

      You can write Tempblob.DELETEALL in the start of the code if you are concerned of the garbage Data. 🙂

      Thanks alot.

Leave a reply to Marco Cancel reply