>I have a form with a grid. The grid's source is a curso r (SEARCHCAT). When I start the form in the load event I have the statement
>SELECT * FROM CATALOG INTO CURSOR SEARCHCAT and the grid shows all the items in the catalog unfiltered ok.
>
>The problem arises when the form is used to get the catalog item search criteria (item category, group and type) to filter the catalog.
>
>At the end I do another SELECT ....INTO CURSOR SEARCHCAT. When that happens the grid's objects are released and I get a blank area. How do I prevent this from happening?
Nevermind...I fixed it by thisform. grid1.recordsouce="", before the SQL SELECT statement and then grid1.recordsouce="SEARCHCAT" after the SELECT.
Thankx anyway