Without testing, I would expect the advanced filter to re-read the value
whenever the filter is re-evaluated. You could probably force this by
setting the FilterOn to True.
What I personally prefer to do is to use code to create the filter string,
and assign it to the Filter of the form in either the Click of a Filter
button, or the AfterUpdate of the text box (if there is only one text box
used to create the filter string). This forces it to be re-evaluated
immediately.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.
<sw********@yahoo.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I created the text box with the control source being the field that I
want to sort. Right or Wrong?
Like [Forms].[purchace order entry].[filter] & "*"
then put that statement in the advance queri, it acted the same as
before, worked the first time but then would retain the same
information.
Could it be that the data base is not converted to 2000?
Before this statment would prompt the user for the control number,
"like [Enter Control Number]&"*"".
I'm not sure if I'm not understanding or if I'm not explaining right.