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

msado15: _Recordset::Filter set index on value.

parent 25697797
......@@ -2196,7 +2196,14 @@ static HRESULT WINAPI recordset_put_Filter( _Recordset *iface, VARIANT criteria
if (V_VT(&criteria) == VT_BSTR && recordset->state == adStateOpen)
{
FIXME("Validating fields not performed\n");
FIXME("No filter performed. Reporting no records found.\n");
/* Set the index to signal we didn't find a record. */
recordset->index = -1;
}
else
{
recordset->index = recordset->count ? 0 : -1; /* Reset */
}
VariantCopy(&recordset->filter, &criteria);
......
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