Official Content

Saves a numeric type field in the current record of the delimited ASCII file.

Syntax

DFWPNum(num [ , dec ] )

Where:

num
    It can be an attribute, variable or constant of the numeric type. Its value will be the one saved in the corresponding field.
 
dec
    It can be an attribute, variable or constant of the numeric type, optional, indicating the decimal quantity to be specified in the field.


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 field has been saved.
-1 Wrong sequence It occurs when this function is called before calling the DFWOpen function, or when the last call to DFWOpen returned a value other than zero (error). If the trace is enabled, you will see the ADF0004 message.

 

See Also

Delimited ASCII files functions








Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant