Dataset Object (iScript)
Back | Level back
The Dataset object made the access of a hit list possible homogeneous data
records. The up-to-date dataset of the input mask is always in the context
of iScript menu command as variable "Dataset" available.
It is also possible to create the "Dataset" with the
CreateDataset-Method of the
Client-Object
Methods
- procedure First - changes to the first
Data record
- procedure Prior - changes to the
preceding Data record
- procedure Next - changes to the next Data
record
- procedure Last - changes to the last Data record
- procedure Search - changes to the search
input mode
- procedure Post - saves the current changes or started the
searching
- procedure Append - inserts a new Data
record
- procedure Clear - deletes the search mask
- procedure Edit - change into the edit mode
- procedure Cancel - break off the changing
- procedure Delete - deletes the current data record
- procedure Close - close the dataset
- procedure SaveCurrentLink -
saves the link in the file system (CNLNK) of the current Data record
Characteristics
- property EOF: WordBool readonly - indicates if you were at
the end of the dataset
- property BOF: WordBool readonly - shows the end of the
dataset
- property Values[Index: Variant]: Variant - read and set the
particular field-worth
- property DOC: IDataObjectClass readonly
- property State: DatasetState readonly -
current mode in which you find the dataset
DatasetState
| Constant |
Value (Integer) |
Description |
|
cnStateInactive |
0 |
The dataset is inactively and not useable. |
|
cnStateUnknown |
1 |
The Status could not be determined |
|
cnStateEditing |
2 |
The current data record is just edited (after the
Edit call ) |
|
cnStateBrowsing |
3 |
The quantity is in the turning mode. Operation First, Next, First and
Last are now possible. |
|
cnStateInserting |
4 |
A data record will be edited (after a insert operation - e.g. after
Append) |
|
cnStateSearchEditing |
5 |
The searching mode is active. (after the call of Search)
Over values (Fieldname) you could deposit a search text. ( watch also
Suchen im
Bedienerhandbuch) |