Click or drag to resize

DataServer Methods (Typed)

X#

The DataServer type exposes the following members.

Functions
  NameDescription
Public methodAppend
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).
Public methodAsString
Return the descriptive label defined for this data server.
Public methodClose
Close down the server in a manner specific to the database used.
Public methodCommit
Force all pending updates to this data server to be permanently written to disk.
Public methodDataField
Retrieve the DataField object at a specified field position.
Public methodDelete
Delete the current record in this data server.
Public methodFieldGet
Return the contents of a specified field in this data server.
Public methodFieldGetFormatted
Return the contents of a specified field in this data server, according to the formatting specifications of its FieldSpec.
Public methodFieldHyperLabel
Return the hyperlabel defined for a field in this data server.
Public methodFieldName
Return the name of a field in this data server.
Public methodFieldPos
Return the position of a field in this data server.
Public methodFieldPut
Assign a value to a field in this data server.
Public methodFieldSpec
Return the FieldSpec object for a field in this data server.
Public methodFieldStatus
Determine the status of a field in this data server after the last operation.
Public methodFieldSym
Return the symbolic name of a field in this data server.
Public methodFieldValidate
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.
Public methodFLock
Lock this entire data server for exclusive access.
Public methodCode exampleGetLookupTable
Retrieve a two-column array of values from two fields in the server, subject to the currently active selection, if any.
Public methodGoBottom
Position this data server at the last record.
Public methodGoTo
Position this data server on a specified record number.
Public methodGoTop
Position this data server at the first record.
Public methodLockCurrentRecord
Public methodNoIVarGet
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.
Public methodNoIVarPut
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.
Public methodNotify
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.
Public methodPostInit
Implement customized initialization code for the window.
Public methodPreInit
Implement customized initialization code for the server.
Public methodRegisterClient
Register an object as a client of this data server, so that it receives notification messages from the server about certain actions.
Public methodResetNotification
Resume the broadcasting of Notify messages to the server's attached clients (after DataServer:SuspendNotification() has been called).
Public methodRLock
Lock a specific record in this data server for exclusive write access; other users can still make read-only reference to the record.
Public methodRLockVerify
Determine if the current record in this data server has any pending updates and lock it for exclusive write access if there are none.
Public methodRollback
Undo the changes made to this data server within the current transaction.
Public methodSeek
Move to the next record having a specified key value in the controlling order.
Public methodSetDataField
Assign a DataField object to a specified field in this data server.
Public methodSkip
Move the record pointer forward or backward in this data server a specified number of records.
Public methodSuspendNotification
Suspend the broadcasting of Notify messages to the server's attached clients.
Public methodUnLock
Remove all locks held on this data server.
Public methodUnRegisterClient
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.
Public methodUpdate
Update this server with data from another server or table.
Top
See Also