T
Tiziano Ricci
Hello everyone
I have a problem using filter property of dao.recordset. It seems to be
ignored by Access 2007. I use Microsoft Office 12.0 Access database engine
Object Library.
Here is an example
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("SELECT * FROM Tabella1", dbOpenDynaset)
(Tabella1 contains 3 record)
rs.MoveLast
rs.MoveFirst
rs.Filter = "Id=1"
MsgBox rs.RecordCount
the result is --> = 3
May you help me?
Tiziano
I have a problem using filter property of dao.recordset. It seems to be
ignored by Access 2007. I use Microsoft Office 12.0 Access database engine
Object Library.
Here is an example
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("SELECT * FROM Tabella1", dbOpenDynaset)
(Tabella1 contains 3 record)
rs.MoveLast
rs.MoveFirst
rs.Filter = "Id=1"
MsgBox rs.RecordCount
the result is --> = 3
May you help me?
Tiziano