I have received that error when I "set" the filter function before the filter field was initialized. You might try changing where (when) in your program you set the filter.
Rob Oates
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs

