Steve,
You can set brakepoint and trace your search method in Debugger to see why it isn't finding anything.
>I have a grid that I display search results in. I use a select statement to define a new cursor and then display that new set in the grid.
>
>I also have the grid header modified so that you can click on the header and order the column. The problem is if I do a search then order a column then do another search, the last search fails, it is always empty.
>
>Strangely though, if I open the form, order the column and do a search, it works well. It only fails if I order the column after a search.
>
>I am setting the grid header at runtime via
<snip>
>
>The header click on the column just performs another search with an order set. It's like setting the order ruins my next search.
--sb--