RDD

DbInfo()

Return or change information about an open database file

Syntax

Signature
DbInfo( nInfoType, [expNewSetting] ) --> uCurrentSetting

Arguments

nInfoType

Information selector. expNewSetting Optional setting supported by the selector.

Return value

The selected current setting or information value.

Description

DbInfo() queries information about the database file in the current work area. Some selectors also accept a new setting and return the previous value.

Notes

Selector constants are defined by the RDD headers. A work area must be open.

Example

DbInfo.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( DbInfo( 1 ) )
   DbCloseArea()

   RETURN

Output

See also