Purpose
A DaoServer Objects allows you to access Dao Data in a similar way to DBServer and SQLSelect data
Accesses/Assigns
BOF | A logical value indicating whether the server is positioned at the beginning of the file, on the first record. |
DBStruct | An array containing the structure of this data server |
Deleted | Returns a logical value if the current record is deleted. |
EOF | A logical value indicating whether the server is positioned at the end of the file |
LastRec | The number of records in the current recordset. |
NullAsBlank | A logical value indicating whether the server should return NULL values as blank values of the proper datatype |
Name | The contents of a field called 'name' or the name of the server |
RecCount | The number of records in the current recordset. |
RecNo | A numeric value representing the current record number |
RecordSet | Return the underlying recordset that is used by the DaoServer class |
UsePropsForHl | A logical value indicating whether the server should read captions/description from the underlying Dao Recordset |
Methods
Append | Append a blank record to the recordset |
Close | Close the Server and its associated recordset |
Commit | Commit all changes to disk, ensuring that all buffers are flushed. |
Delete | Delete the current record |
FieldGet | Get the contents of a field that is identified by its position. |
FieldGetFormatted | Return the contents of a specified field according to the formatting specifications of its FieldSpec object. |
FieldPos | Return the position of a specified field within the data server, as a number starting with 1. |
FieldPut | Set the value of a field identified by its position. |
Fields | Provide an easy access to the Field Objects of the underlying Recordset |
GoBottom | Position the data server at the last record. |
GoTo | Position the data server at a specified record number. |
GoTop | Position the data server at the first record. |
Init | Create new instance of Daoserver Class |
Notify | An event handler that responds to events that have occurred in methods of this server |
Recall | Dummy method. Dao does not support recalling of deleted records ! |
RecallAll | Dummy method. Dao does not support recalling of deleted records ! |
Refresh | Reread the current record from the database, discarding any changes that have been made. |
Requery | Requery the underlying database query.If any records have been changed by other users the changes will become visible. |
ResetNotification | Resume the broadcasting of Notify messages to the server's attached clients. |
Skip | Move the record pointer forward or backward a specified number of records. |
SuspendNotification | Suspend the broadcasting of Notify messages to the server's attached clients. |
Inherits from
DataServer
Inherited By
DaoQuery
DaoTable