DFWNext function

Official Content
This documentation is valid for:
Saves the record with the values specified by the previous calls to DFWPTxt, DFWPNum, etc., in the delimited text file.

Syntax

DFWNext()

Type Returned:
Numeric

Scope

Objects: Procedure, Transaction, Web Panel, Data Provider
Generators: .NET.NET Framework, Java, Ruby (up to GeneXus X Evolution 3)

Values

This function may return some of the following values:

Value Result Description
 0 Successful operation The record has been read.
-1 Wrong sequence It occurs when this function is called before calling the DFWOpen function, or when the call to DFWOpen returned a value other than zero (error).
-9 Recording error It occurs when an error has occurred upon saving the line in the delimited ASCII file. The cause may be clearly identified by enabling the trace and looking for the message with the code ADF0003

See Also

Delimited ASCII files functions