PA_SetRealField

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_SetRealField (tNum; fNum; value)

ParameterTypeDescription
tNumshortTable number of the field to access
fNumshortField number of the field to access
valuedoubleNew 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

PA_GetRealField.

Error Handling

Use PA_GetLastError to see if an error occurred (eER_InvalidFileNumber, eER_InvalidFieldNumber).


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next