TextIo.inFieldDelimiter Method [AX 2012]

Gets or sets the character that is used for the field delimiter of an input file represented by a TextIO object.

public str inFieldDelimiter([str value])

Run On

Called

Parameters

value
Type: str
The character to be used as the field delimiter; optional.

Return Value

Type: str
The character used as the field delimiter.

To set the field delimiter for an output file, use .

The following example sets the field delimiter for an input file to '\r\n'.

protected void openFile() 
{ 
    #define.delimiter('\r\n') 
  
    super(); 
    importFile.inFieldDelimiter(#delimiter); 
}

Community Additions

ADD
Show: