Function | Reads the database table associated with the object | |||||||||
Example |
myrc = s10databaseread( ). |
|||||||||
Format |
data: myrc type boolean. myrc = s10databaseread( ). |
|||||||||
Parameters |
|
|||||||||
Description |
Prerequisite for the use of s10databaseread( ) is the assignment of the class
to a database table by defining a constant "dbtablename". Example: class db_t005t definition inheriting from /s10/any. public section. constants: dbtablename type string value 't005t'.
s10databaseread( ) performs a "Select Single" on this database table, in which the where condition is formed from the values of those class attributes
that are key fields of the table. |
|||||||||
Components | S10 Framework |