doUpdate(self,
resultSet,
data,
deferPost=False)
This function sets all fields in the current record of the resultset
based on the key/values given by the data dictionary. It returns TRUE,
if a field value has been changed, otherwise FALSE. If a field was
changed, the record gets posted unless 'deferPost' is set to True.
-
- Parameters:
resultSet -
resultset with the current record to be updated
data -
dictionary with keys and values used for updates
deferPost -
if True, this function does not post () the changes. The
caller will do this later.
- Returns:
-
TRUE if a field has been changed, FALSE if no field has been
changed.
|