General information
Category:
Forms & Form designer
>>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
Larry,
By solving this problem yourself, you have helped me with a problem I was having. Thanks for the inadvertent help.
:-)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only