DataServer Methods (Typed) |
The DataServer type exposes the following members.
Name | Description | |
---|---|---|
Append |
Append a blank record to the end of this data server (the new record becomes the current position and is ready for assignment of data values).
| |
AsString |
Return the descriptive label defined for this data server.
| |
Close |
Close down the server in a manner specific to the database used.
| |
Commit |
Force all pending updates to this data server to be permanently written to disk.
| |
DataField |
Retrieve the DataField object at a specified field position.
| |
Delete |
Delete the current record in this data server.
| |
FieldGet |
Return the contents of a specified field in this data server.
| |
FieldGetFormatted |
Return the contents of a specified field in this data server, according to the formatting specifications of its FieldSpec.
| |
FieldHyperLabel |
Return the hyperlabel defined for a field in this data server.
| |
FieldName |
Return the name of a field in this data server.
| |
FieldPos |
Return the position of a field in this data server.
| |
FieldPut |
Assign a value to a field in this data server.
| |
FieldSpec |
Return the FieldSpec object for a field in this data server.
| |
FieldStatus |
Determine the status of a field in this data server after the last operation.
| |
FieldSym |
Return the symbolic name of a field in this data server.
| |
FieldValidate |
Perform all the validations defined to the FieldSpec of a field in this data server (for example, required, maximum and minimum digits, maximum and minimum value, validation rule) and return the result of the test.
| |
FLock |
Lock this entire data server for exclusive access.
| |
GetLookupTable |
Retrieve a two-column array of values from two fields in the server, subject to the currently active selection, if any.
| |
GoBottom |
Position this data server at the last record.
| |
GoTo |
Position this data server on a specified record number.
| |
GoTop |
Position this data server at the first record.
| |
LockCurrentRecord | ||
NoIVarGet |
Provide a general error interception that is automatically called (in any class) whenever an access reference is made to a non-existent exported instance variable. In the DataServer class, it is used to implement the virtual field variable.
Important! NoIVarGet() should not be called directly; it is called by the system for handling invalid references. | |
NoIVarPut |
Provide a general error interception that is automatically called (in any class) whenever an assignment reference is made to a non-existent exported instance variable. In the DataServer class, it is used to implement the virtual field variable.
Important! NoIVarPut() should not be called directly; it is called by the system for handling invalid references. | |
Notify |
An event handler that responds to events that have occurred in methods of this server, or in other servers that are linked to this server in some way. The standard implementation notifies all the server's clients of the event.
Description
Important! This method is automatically called by the various action methods of the data server, and should normally not be called by application code. | |
PostInit |
Implement customized initialization code for the window.
| |
PreInit |
Implement customized initialization code for the server.
| |
RegisterClient |
Register an object as a client of this data server, so that it receives notification messages from the server about certain actions.
| |
ResetNotification |
Resume the broadcasting of Notify messages to the server's attached clients (after DataServer:SuspendNotification() has been called).
| |
RLock |
Lock a specific record in this data server for exclusive write access; other users can still make read-only reference to the record.
| |
RLockVerify |
Determine if the current record in this data server has any pending updates and lock it for exclusive write access if there are none.
| |
Rollback |
Undo the changes made to this data server within the current transaction.
| |
Seek |
Move to the next record having a specified key value in the controlling order.
| |
SetDataField |
Assign a DataField object to a specified field in this data server.
| |
Skip |
Move the record pointer forward or backward in this data server a specified number of records.
| |
SuspendNotification |
Suspend the broadcasting of Notify messages to the server's attached clients.
| |
UnLock |
Remove all locks held on this data server.
| |
UnRegisterClient |
Remove the registration of an object as a client of this data server, so that it no longer receives notification messages from the server about certain actions.
| |
Update |
Update this server with data from another server or table.
|