Hi
i am trying to filter a recordset but it doesn't seem to be working.
The forms recordset has 3 rows. One of the fields is a status flag. I want to only show the rows in my recordset where the StatusFlag is empty ("").
I use the filter but when i do a row count i still get 3 rows
can anone tell me what im doing wrong
thanks
i am trying to filter a recordset but it doesn't seem to be working.
The forms recordset has 3 rows. One of the fields is a status flag. I want to only show the rows in my recordset where the StatusFlag is empty ("").
I use the filter but when i do a row count i still get 3 rows
Code:
Set rs = srcForm.Recordset
rs.Filter = "StatusFlag = """""
MsgBox rs.RecordCount
can anone tell me what im doing wrong
thanks