Progress
ADM 2 Reference
updateState (data.p)
Passes along update-related messages (to its Navigation–Source, for example.) and adjusts the DataModified property.
Parameters:INPUT pcState AS CHARACTER
An indicator of the state of an updatable record. Valid values are:
"
UpdateBegin"
— The user has indicated that an update will take place, either by pressing the Update button in a panel or by entering an updatable field in a browser.
"
Update"
— An update is in progress in another object (a viewer or browser)."
UpdateEnd"
— A save has completed (the same as"
UpdateComplete"
.)"
UpdateComplete"
— Any changes to the RowObject temp-table have been either committed or backed out.Returns: Nothing (procedure)Notes: The SmartDataObject also saves its own“
copy”
of the DataModified property, set TRUE when updateState is"
Update"
and FALSE when updateState is"
UpdateComplete"
, so that it can be queried by other objects (such as other Data–Targets).
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |