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.
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
Objects: Procedure, Transaction, Web Panel, Data Provider
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3)
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. |
Delimited ASCII files functions
{{Category:GeneXus 16 Help}}}