Functions returning pointers will return
NULL if an error is detected. The functions that return an int will return one of the following error values:
E_OK
The function was successful.
E_CONNECTED
The field is connected to a form.
E_POSTED
The form is currently posted to the screen.
E_BAD_ARGUMENT
The function was passed a bad argument.