Salesforce

DbReload (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

DbReload (Magic xpa 2.x)

Loads a resident table (data source) during runtime and returns a logical value indicating the success or failure of the load.

With a specific path as the second parameter, DbReload deletes the old resident table path and loads the new path of the resident table.

Syntax:

DbReload(number,file name)

Parameters:

number: A number that represents the data source's sequence number in the Data repository.

file name: This parameter is used as an alternative to number. If not needed, enter '' (two single quotation marks). If needed, enter the complete Alpha string that represents the data source specification. The string may contain a path. If the path is not indicated, Magic xpa assumes the current directory.

Returns:

TRUE for a successful load

FALSE for a failed load

Example:

DbReload(3,'')

Note:

  • This function can only be used if the Load Resident Tables setting is set to Yes.

  • In XML sources, this function will be disabled. It will always return False.

See also:

How Do I Minimize Database Access for Read-only Data?

Reference
Attachment 
Attachment