Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid question
Message
From
24/06/2003 16:04:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid question
Miscellaneous
Thread ID:
00803484
Message ID:
00803484
Views:
35
What is the trick to being able to rebuild my grid's row source on a form based on selection criteria? I have a VFP7 form with a textbox where the user enters a value, and a grid which is based on a cursor that gets built by a SQL Select statement using the textbox value in it's selection. Initially the textbox is blank and the grid should be blank until the user enters a valid value and the SQL SELECT builds the cursor. Initially the cursor is defined but is empty. Whenever I try to refresh the grid after rebuilding the cursor it seems that the grid melts down and shows a big empty rectangle where the grid once was. It seems to happen whenever the number of records change in the cursor.

Any help would be greatly appreciated.

Thanks,
Jim White
Time is a wonderful teacher. Unfortunately it kills all of its students.
Next
Reply
Map
View

Click here to load this message in the networking platform