Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid question
Message
De
24/06/2003 16:04:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid question
Divers
Thread ID:
00803484
Message ID:
00803484
Vues:
36
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform