Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Problem
Message
 
 
To
12/08/1997 23:38:54
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00044391
Message ID:
00044478
Views:
31
>>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
Map
View

Click here to load this message in the networking platform