Skip to content

FindExternalDataInCache - cCJGridCachedDataSource

Searches for the file buffer's RowId in the cache

Type: Function
Return Data Type: Integer

Syntax

Function FindExternalDataInCache Returns Integer

Call Example

Get FindExternalDataInCache to IntegerVariable

Description

FindExternalDataInCache searches for an active table buffer's RowId in the cache. It returns the row index of the matching row or -1 if not found. The table buffer is determined by the DataDictionary server being used by the datasource. This provides a mechanism to determine if record in the table buffer is already loaded into the datasource.

Return Value

Returns the index of the row that matches the RowId in the DataDictionary's table buffer. If not found, returns -1.