wwBusinessObject::Save

Saves the current data member in the .oData property to the underlying table.

o.save()

Return Value

.T. or .F. - cErrorMsg contains error information when .F.

Remarks

Validate() is not automatically called on the Save() operation unless the lValidateOnSave property is set to .t.. We decided it's more efficient to make this an explicit call so the user can decide how to deal with any errors as they occur in a more granular fashion as many objects will save frequently to re-write non-validated data.


See also:

Class wwBusinessObject | wwBusinessObject::validate | wwBusinessObject::lValidateOnSave |

© West Wind Technologies, 1996-2024 • Updated: 03/04/19
Comment or report problem with topic