--- dlls/msado15/recordset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c index b21385bd860..f5d4d578766 100644 --- a/dlls/msado15/recordset.c +++ b/dlls/msado15/recordset.c @@ -631,7 +631,7 @@ static HRESULT map_index( struct fields *fields, VARIANT *index, ULONG *ret ) } }
- return E_INVALIDARG; + return MAKE_ADO_HRESULT(adErrItemNotFound); }
static HRESULT WINAPI fields_get_Item( Fields *iface, VARIANT index, Field **obj )