How do you apply the entered account code, via a filter? If so, I would assume that the SQL is not evaluated again, but just, well, filtered.
Try to throw in a ListBox.Requery command in the code that does the filtering.
If my assumption is wrong, please explain further how you do the...