C
Carlos Mallen
Hi, I have a query called "Assets" that has the following fields: Company
Name, Account Name and Value. I am trying to filter the query by the Company
Name field as follows:
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Assets",dbOpenDynaset)
rst.Filter = "[Company Name] = 'Administaff Inc'"
However, the filter is not working, and I don't know what I'm doing wrong.
Name, Account Name and Value. I am trying to filter the query by the Company
Name field as follows:
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Assets",dbOpenDynaset)
rst.Filter = "[Company Name] = 'Administaff Inc'"
However, the filter is not working, and I don't know what I'm doing wrong.