Syntax
DbInfo( nInfoType, [expNewSetting] ) --> uCurrentSettingArguments
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
PROCEDURE Main()
DbUseArea( .T., , "people.dbf", "People" )
QOut( DbInfo( 1 ) )
DbCloseArea()
RETURNOutput