Salesforce

DbViewSize (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

DbViewSize (Magic xpa 3.x)

Retrieves the number of records in the current data view.

Syntax:

DbViewSize(generation)

Parameters:

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

A numeric value that represents the number of cached records.

Note:

If no main source is defined, the function returns 0.

If the Preload View property is set to No, the function returns 0. (Since version: 1.9)

If the view is preloaded, the function will return the number of records of the entire view.

Exceptions:

This function is not supported for Web Service databases.

See also:

DbViewRowIdx

How Do I Determine the Bulk Size When Fetching Records from a Database Table?

The Online and Rich Client Samples projects (program DV01 and RDV01)

Reference
Attachment 
Attachment