msado15: Correct logic when setting field value.

This commit is contained in:
Alistair Leslie-Hughes 2023-11-21 09:21:51 +11:00 committed by Alexandre Julliard
parent 8e9c6e29d0
commit 78ba84e3c5

View file

@ -299,7 +299,7 @@ static HRESULT WINAPI field_put_Value( Field *iface, VARIANT val )
field->recordset->data[row * col_count + col] = copy;
if (field->recordset->editmode != adEditNone)
if (field->recordset->editmode == adEditNone)
field->recordset->editmode = adEditInProgress;
return S_OK;