Skip to content

Write - DfBaseEdit

Writes the contents of the edit buffer to the specified file

Type: Procedure

Parameters

Parameter Type Description
sFileName String The name of the file to be written
bAppend Boolean If true the data will be appended to the file, if false the data will overwrite existing data

Syntax

Procedure Write String sFileName Boolean bAppend

Call Example

Send Write sFileName bAppend

Description

The write message writes the contents of the edit buffer to the specified file. If neither parameter is given, the value of the File_Name property is used for sFileName and bAppend is false by default. If bAppend is true, then the data that is being written will be appended to sFileName. If it is false, sFileName, if it exists, will be overwritten. To set bAppend without sFileName, use a pair of quotation marks ("") for sFileName.

send Write of oEdit1 "ascii.txt"
:
set File_Name of oEdit1 to "txt.fil"
send Write of oEdit1