Official Content

Warning: This function is maintained for backward compatibility. It is strongly recommended to use the File data type, its properties, and methods instead of this function.

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

      {{Category:GeneXus 16 Help}}}

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