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

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s