Subject How to cancel ib_query search
Author jeffplata
I had this general series of ib_query command: //select *, shows all table contents on a grid //put the query in search mode //search executed properly
ib_query.cancel //cancel the query search mode

My problem is with ib_query.cancel. Instead of returning the
previously opened set of records, the table (and effectively the
grid) now returns no record at all. If I attach an ibo updatebar and
click cancel button (the x), the searchmode is cancelled and the
previous record set is returned.

What is the proper way to cancel a search in code?