Module: wine Branch: master Commit: a85055ee6c5d59ed4258a5501fa072ecae8816e7 URL: https://gitlab.winehq.org/wine/wine/-/commit/a85055ee6c5d59ed4258a5501fa072e...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Sun Nov 12 12:23:21 2023 +1100
msado15: Updating recordset EditMode when field value changes.
We need to know what type of Edit we are Performing, eg AddNew or Updated existing.
---
dlls/msado15/recordset.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c index 2b936f5c096..d64ccdeee3d 100644 --- a/dlls/msado15/recordset.c +++ b/dlls/msado15/recordset.c @@ -298,6 +298,10 @@ static HRESULT WINAPI field_put_Value( Field *iface, VARIANT val ) if ((hr = VariantCopy( ©, &val )) != S_OK) return hr;
field->recordset->data[row * col_count + col] = copy; + + if (field->recordset->editmode != adEditNone) + field->recordset->editmode = adEditInProgress; + return S_OK; }