Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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.
:-)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement