Navigation:  Classes > bVirtualFieldColumn >

bVirtualFieldColumn:DataList

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

List of the records for which a data value was changed.

Class

bVirtualFieldColumn

Type

Access

Data Type

Array

Description

bVirtualFieldColumn:DataList contains a list with all records for which the data value was changed in the virtual column. Records for which the data value was not changed are not contained in the list.

 

The list is an array whose number of elements is defined by the access bVirtualFieldColumn:DataCount. Each element of the array is a subarray containing information for a changed data value. The subarrays have the following format:

 

Constant

Description

BVFCD_RECNO

The record number of the record.

BVFCD_VALUE

The data value of the record.

Samples

In the following sample all changed records are determined.

 

auData := oVirtualFieldColumn:DataList

iCount := oVirtualFieldColumn:DataCount

FOR iPos:=1 UPTO iCount

 iRecNo := auData[iPos, BVFCD_RECNO]

 uValue := auData[iPos, BVFCD_VALUE]

 ? "Record "+NTrim(iRecNo)+":"+AsString(uValue)

NEXT

See Also

bDataColumn:Value

bVirtualFieldColumn:DataCount

bVirtualFieldColumn:DataDelete()

bVirtualFieldColumn:DataGet()

bVirtualFieldColumn:DataListClear()

bVirtualFieldColumn:DataPut()

 


Page url: http://www.YOURSERVER.com/index.html?bvirtualfieldcolumn_datalist.htm