Commit a85055ee authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msado15: Updating recordset EditMode when field value changes.

We need to know what type of Edit we are Performing, eg AddNew or Updated existing.
parent 909e2b95
...@@ -298,6 +298,10 @@ static HRESULT WINAPI field_put_Value( Field *iface, VARIANT val ) ...@@ -298,6 +298,10 @@ static HRESULT WINAPI field_put_Value( Field *iface, VARIANT val )
if ((hr = VariantCopy( &copy, &val )) != S_OK) return hr; if ((hr = VariantCopy( &copy, &val )) != S_OK) return hr;
field->recordset->data[row * col_count + col] = copy; field->recordset->data[row * col_count + col] = copy;
if (field->recordset->editmode != adEditNone)
field->recordset->editmode = adEditInProgress;
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment