list, filters, and error 0886

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

list, filters, and error 0886

Post by John »

How do you handle error 886 when working with listonly grids that utilize the filter facility?

When I type too much stuff into the filter and tab off of it than I get an error 0886. I'd like to handle this automatically for the users. I added an IOERR IGNORE to it (and an IGNORE:CONTNUE later in my code) but that just causes eternal looping.

What is the correct procedure here? Do you add code specifically to blank out the filter box and repopulate the grid?

That's what I'm doing - but it seems like a lot of work ... and *if* the grid we're very big - it seems like it would be slow too...

of course only a stupid user would do something like try to tab off the filter field with nothing left on the grid.
Post Reply