version 2003
PA_SetRealField (tNum; fNum; value)
Parameter | Type | Description | |
tNum | short | Table number of the field to access | |
fNum | short | Field number of the field to access | |
value | double | New value for the field |
Description
The routine PA_SetRealField sets the value of the real field number fNum of the current record of table number tNum to value.
If the field is not a real field, the routine does nothing and sets an error in PA_GetLastError().
Example
Set value of field 2 of table 1 to the value of field 3 of table 5 (assumming the types are ok).
PA_SetRealValue(1, 2, PA_GetRealValue(5, 3));
See Also
Error Handling
Use PA_GetLastError to see if an error occurred (eER_InvalidFileNumber, eER_InvalidFieldNumber).