RDD

DbRecordInfo()

Return information about a record

Syntax

Signature
DbRecordInfo( nInfoType, [nRecord], [expNewSetting] ) --> uCurrentSetting

Arguments

nInfoType

Selector. nRecord Optional record identity. expNewSetting Optional setting.

Return value

The selected record information.

Description

DbRecordInfo() queries metadata for the current or specified record. The selector determines the returned value and is defined by the RDD headers.

Notes

A work area must be open. xDev exposes this operation as read-only.

Example

DbRecordInfo.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( "DbRecordInfo: " + ValType( DbRecordInfo( 1 ) ) )
   DbCloseArea()

   RETURN

Output

See also