Sum on filtered form gives #error

A

Atlas

Access 2003, adp + ADO + MS SQL Server, Continuos form.
On the footer there's a field that has =Sum([myFld]) control source.

With no filters it works perfectly.

When some filters are active it shows "#Error".

Here's the code I use to filter the form:

Me.Form.Filter = filterString ' some string here

If Me.Form.FilterOn = False Then
Me.Form.FilterOn = True ' activate the filter
End If


What's wrong?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top