Salesforce

DbViewRowIdx (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

DbViewRowIdx (Magic xpa 4.x)

Retrieves the sequential number of a record within a cached view, letting you know which row is currently parked on.

Syntax:

DbViewRowIdx (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 representing the sequential number of a record in a cached view

Note:

This function is applicable only for tasks that are set to preload the task’s view.

If no main source is defined or if the view is not preloaded, the function returns 0.

Exceptions:

This function is not supported for Web Service databases.

See also:

DbViewSize

The Online and Rich Client Samples projects (program SQ12 and RSQ12)

Reference
Attachment 
Attachment