Navigation:  DataServer Classes >

DaoServer Class

Previous pageReturn to chapter overviewNext page

Purpose

A DaoServer Objects allows you to access Dao Data in a similar way to DBServer and SQLSelect data

 

Accesses/Assigns

BOFA logical value indicating whether the server is positioned at the beginning of the file, on the first record.
DBStructAn array containing the structure of this data server
DeletedReturns a logical value if the current record is deleted.
EOFA logical value indicating whether the server is positioned at the end of the file
LastRecThe number of records in the current recordset.
NullAsBlankA logical value indicating whether the server should return NULL values as blank values of the proper datatype
NameThe contents of a field called 'name' or the name of the server
RecCountThe number of records in the current recordset.
RecNoA numeric value representing the current record number
RecordSetReturn the underlying recordset that is used by the DaoServer class
UsePropsForHlA logical value indicating whether the server should read captions/description from the underlying Dao Recordset

 

Methods

AppendAppend a blank record to the recordset
CloseClose the Server and its associated recordset
CommitCommit all changes to disk, ensuring that all buffers are flushed.
DeleteDelete the current record
FieldGetGet the contents of a field that is identified by its position.
FieldGetFormattedReturn the contents of a specified field according to the formatting specifications of its FieldSpec object.
FieldPosReturn the position of a specified field within the data server, as a number starting with 1.
FieldPutSet the value of a field identified by its position.
FieldsProvide an easy access to the Field Objects of the underlying Recordset
GoBottomPosition the data server at the last record.
GoToPosition the data server at a specified record number.
GoTopPosition the data server at the first record.
InitCreate new instance of Daoserver Class
NotifyAn event handler that responds to events that have occurred in methods of this server
RecallDummy method. Dao does not support recalling of deleted records !
RecallAllDummy method. Dao does not support recalling of deleted records !
RefreshReread the current record from the database, discarding any changes that have been made.
RequeryRequery the underlying database query.If any records have been changed by other users the changes will become visible.
ResetNotificationResume the broadcasting of Notify messages to the server's attached clients.
SkipMove the record pointer forward or backward a specified number of records.
SuspendNotificationSuspend the broadcasting of Notify messages to the server's attached clients.

 

Inherits from

DataServer

 

Inherited By

DaoQuery

DaoTable