Skip to content

Read_Dbms - DfBaseEdit

Reads information from a database file

Type: Procedure

Syntax

Procedure Read_Dbms

Call Example

Send Read_Dbms

Description

The Read_dbms message is used to read information from a database file. The database may contain any type of data, but Text fields are most often used as the source of data. The message constructs a valid file name from the DBMS field passed. The read message is then called to read from the database.

send read_dbms to (txt_edit(self)) customer.note

There is a special form of the read_dbms message that does not read data from the database, but rather just sets the file_name property of the Edit object for use by subsequent read messages directed to the default file_name.

send read_dbms to (txt_edit(self)) customer.note true

The true parameter in the example above instructs the system to just set the file_name property of Object txt_edit to customer.note.