I am trying to get the following command (which works fine within the form “Need to send First Letter - Specified Range”) to work with the same Form moved into a Navigation Form. The record source for this Form is a query named “Need to Send First Letter”. It has 2 unbound text boxes called Minamt and Maxamt – where you can put a high and low number that you want to search between to narrow your results. Here’s the command:DoCmd.ApplyFilter , "[TOTALTAX] Between [Forms]![Need to send First Letter - Specified Range]![Minamt] And [Forms]![Need to send First Letter - Specified Range]![Maxamt]"
When I run this within the Navigation Form (Named Navigation Form) I get a Run-time error ‘2491’ – The action or method is invalid because the form or report isn’t bound to a table or query.
I have searched high and low and tried multiple things, but cannot figure out what I need to do to make this work. Can anyone help?