Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search is failing after a column sort.
Message
 
 
To
08/08/2003 08:54:29
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818156
Message ID:
00818249
Views:
20
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform