Cicode Programming Reference > Cicode Function Categories > Form Functions Introduction > FormSetData

FormSetData

Sets all the edit data from the string buffers into the form. You should call this function only while the form is active.

Syntax

FormSetData(hForm)

hForm:

The form handle, returned from the FormNew() function. The form handle identifies the table where all data on the associated form is stored.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

FormGetData

Example

INT
FUNCTION MyNextRec()
INT hForm,hField;
FormCurr(hForm,hField);
FormSetData(hForm);
RETURN 0;
END

See Also

Form Functions