Click or drag to resize

DbServer Properties

X#

The DbServer type exposes the following members.

Properties
  NameDescription
Public propertyAlias
A string representing the alias of the work area.
Public propertyAliasSym
A symbol representing the alias of a DBServer object.
Public propertyCode exampleBoF
A logical value indicating whether the server is positioned at the beginning of the file, on the first record.
(Overrides BoF.)
Public propertyClients
**Missing documentation **
(Inherited from DataServer.)
Public propertyCode exampleConcurrencyControl
A constant, identifying the mode of automatic concurrency control for this data server, determining when and how records are locked and released:
(Overrides ConcurrencyControl.)
Public propertyCode exampleDBStruct
An array containing the structure of this data server, whose length (that is, number of elements) is equal to the number of fields in the server.
(Overrides DBStruct.)
Public propertyDbStructure
Return the original dbstructure array from the DbServer object.
Public propertyCode exampleDeleted
A logical value indicating whether the current record is marked as deleted.
Public propertyDriver
A string representing the name of the database driver in use with this server.
Public propertyCode exampleEoF
A logical value indicating whether the server is positioned at the end of the file, on the last record
(Overrides EoF.)
Public propertyCode exampleErrInfo
An Error object identifying the error condition after the last operation.
Public propertyErrorInfo
Returns the internal ErrorInfo object, regardless of the last operation produced an error or not.
Public propertyCode exampleFCount
The number of fields in the server.
(Overrides FCount.)
Public propertyFieldDesc
This returns an empty array. For servers that were painted in the DbServer editor this returns the array of DataFields.
Public propertyCode exampleFileSpec
The FileSpec object that defines the path and file name of the DBF file.
Public propertyCode exampleFilter
A string representing the current active filter.
Public propertyCode exampleForBlock
The "FOR block" component of the "general server scope," which affects several bulk processing methods if they are called with no explicit scope.
Public propertyCode exampleFound
A logical value indicating whether the previous search operation succeeded.
Public propertyCode exampleHeader
A numeric value representing the length of the database file header.
Public propertyHLStatus
**Missing documentation **
(Inherited from DataServer.)
Public propertyCode exampleHyperLabel
The hyperlabel connected to this data server. From the hyperlabel, you can retrieve additional information about the data server
(Inherited from DataServer.)
Public propertyIndexExt
A string representing the default index extension based on the database driver currently linked (for example, ".NTX" for the DBFNTX driver).
Public propertyIndexList
This returns an empty array. For servers that were painted in the DbServer editor this returns the array of Indexes.
Public propertyCode exampleLastRec
The number of records in the current database file.
Public propertyLupdate
The last modification date of the DBF file used in the server.
Public propertyMemoExt
This returns the memo extension of the file (if any). For example DBT or FPT.
Public propertyName
This returns the name of the DbServer.
(Overrides Name.)
Public propertyNameSym
A symbol representing the name of this data server.
(Inherited from DataServer.)
Public propertyOleExt
This returns the OLE extension of the file (if any). For example DFL.
Public propertyOrderBottomScope
A key value representing the record of the bottom boundary in the range of key values that will be included in the controlling order's current scope.
Public propertyOrderKeyVal
The key value of the current record from the controlling order.
Public propertyOrderTopScope
A key value representing the record of the top boundary in the range of key values that will be included in the controlling order's current scope.
Public propertyPaintedStructure
This returns a DBSTRUCT array based on the DataFields and Fieldspecs that were painter in the server editor.
Public propertyRddName
A string representing the name of the database driver in use with this server.
Public propertyRdds
This returns the list of RDDs that were passed to the DbServer constructor.
Public propertyCode exampleReadOnly
A logical value indicating whether the file was opened as a read-only file. This is determined by an instantiation parameter of the server.
Public propertyCode exampleRecCount
The number of records in the current database file.
(Overrides RecCount.)
Public propertyCode exampleRecNo
A numeric value representing the current record number, identifying the position of the record pointer.
(Overrides RecNo.)
Public propertyCode exampleRecSize
A numeric value representing the record length of the server in bytes.
Public propertyRelationChildren
The returns the array of children that were registered with SetRelation()
Public propertyRetries
The setting that determines how often the DbServer object should retry operations that fail.
Public propertyCode exampleRLockList
An array of record numbers that are currently locked.
Public propertyCode exampleScope
The "scope" component of the "general server scope," which affects several bulk processing methods if they are called with no explicit scope. The initial value of the scope is NIL.
Public propertySelectionWorkArea
The workarea number of the parent area when the dbserver is a child in a relation.
Public propertyCode exampleShared
A logical value indicating whether the server is sharable or exclusive.
Public propertyCode exampleStatus
A HyperLabel object identifying the status after the last operation. If
(Overrides Status.)
Public propertyTableExt
Return the Extension for the opened DBF. This is normally .DBF but may be different if a file with a different extension was opened.
Public propertyUsed
A logical value indicating whether the server is currently open
Public propertyCode exampleWhileBlock
The "WHILE block" component of the "general server scope," which affects several bulk processing methods if they are called with no explicit scope
Public propertyWorkArea
A number representing the workarea of the server
Top
See Also