FancyPrairie
Programmer
After I select the Filter By Selection button, my data access page filters the data correctly. However, if I try to find a record, the first record it finds does not exist in the filtered recordset.
Here's the command I user to find the record:
Set rst = MSODSC.DataPages(0).Recordset
rst.Find "strLastName Like 'S*'",0,1,1
It finds the first name that starts with "S", but the name it finds does not exist in the filtered data. Note that MSODSC.DataPages(0).Filter contains the correct information and MSODSC.DataPages(0).IsFilterOn = True.
What am I doing wrong?
Here's the command I user to find the record:
Set rst = MSODSC.DataPages(0).Recordset
rst.Find "strLastName Like 'S*'",0,1,1
It finds the first name that starts with "S", but the name it finds does not exist in the filtered data. Note that MSODSC.DataPages(0).Filter contains the correct information and MSODSC.DataPages(0).IsFilterOn = True.
What am I doing wrong?