virtual BOOL SetValue(long nRecord, long nField, CString* strValue) = 0;
nRecord
Specifies the record id (0 based).
nField
Specifies the field id (0 based).
strValue
Specifies the value.
TRUE if the operation was successful. FALSE otherwise.
Always make sure to call Edit on this record or AddRow if this is a new record before calling SetValue on a particular record. To store the changes made with SetValue into the data source, call Update.
Once you call SetValue on a particular (nRecord, nField), the engine will cache it in a temporary buffer before you call Update to store the changes into the data source. GetValue will also return the value in the temporary buffer when the record is in edit or addNew mode.
CGXDBEngine::GetValue CGXDBEngine::Edit CGXDBEngine::AddRow CGxDBEngine::Update
Class Overview | Class Members