<< Return to Main Index

< Return to Class Index

CGXDBEngine::Edit

virtual BOOL Edit(long nRecord) = 0;

nRecord

Specifies the record id (0 based).

Return Value

TRUE if the operation was successful. FALSE otherwise.

Remarks

Call this function to start an edit mode. Before you start editing a record call Edit on that record, then use SetValue to modify the values in the fields within that record and call Update to store these changes into the data source.

The engine will temporarily save the changes in a buffer and store it into the data source when you call Update.

CanUpdate should return TRUE for Edit to be successful.

See Also

CGXDBEngine::SetValue CGXDBEngine::Update

CGXDBEngine

Class Overview | Class Members