Writes the given value into the specified database. The database file, record and field are created if they do not exist.
DBWrite( database , record , field , value )
- The name of the database table
- The name of the record in the form of a string. The name is not case sensitive
- The name of the field to which a value is to be written. The field name is not case sensitive
- The string of data written into the database. If the field, record or table do not exist, an empty string is returned
// Create the following record and field in a database named MyData.mtq
DBWrite("MyData.mtq", "John", "Hobby", "Cycling")