info.mailtraq.com > Management > Script Functions A-Z > DBWrite() DBWrite()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 )
- database
- The name of the database table
- record
- The name of the record in the form of a string. The name is not case sensitive
- field
- The name of the field to which a value is to be written. The field name is not case sensitive
- value
- 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
// [John]
// Hobby=Cycling
DBWrite("MyData.mtq", "John", "Hobby", "Cycling") |