Salesforce

MTblGet (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

MTblGet (Magic xpa 4.x)

Retrieves the content of a memory table as a BLOB variable.

Syntax:

MTblGet(table entry, DB table name)

Parameters:

table entry – A literal or an entry number value that corresponds to a memory table in the Data repository.

DB table name – This parameter lets you refer to a different instance of the table by its name.

Returns:

The content of a memory table as a BLOB variable.

Usage:

Use this function together with the MTblSet function to keep the content of memory tables persistent so that the memory-table content can be stored and transferred as needed.

Note:

If performed on a table of a database other than the Memory database, the function fails and returns a Null value.

The BLOB data item content is the memory table content that exists before the last committed transaction in the table.

The DB table name parameter, which enables you to refer to another table by its name, is effective only if the same table entry is not opened by any active task at the time the function is evaluated.

See also:

The Online Samples project (program MT08)

Reference
Attachment 
Attachment