interface field write

Allows writing the contents of a field to a file
A field is a space on a dialog box where a data elements can be entered and displayed. The contents of a field can be directly written to a file like excel workbook or a tab delimited .txt file.

Format:

 
interface field write
field_name =
an existing GI_field
file_name =
string

Example:

 
interface field write &
field_name =
.gui.ATC.flde &
file_name =
c:/write_backup.txt

Description:

 
Parameter
Value Type
Description
field _name
An Existing GI_field
Specifies the name of an existing field to be displayed
file_name
String
Specify here a new or existing file name to be written or overwritten

Extended Definition:

1. The contents of the field can be written to a new or existing file by ‘write’ command. If an existing file name is suggested then the file will be overwritten after a prompt warning. The new file can be specified with extension like .txt or .doc. If no extension is specified then the file will be created with an extension .tab. You do not need to enclose the file name in quotes if it only contains alpha-numeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the name in quotes.