Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01474625
Message ID:
01474629
Vues:
57
>I have a search form that finds records by QuoteID, Customer Part Number, Project Name, etc.
>
>I have a dropdown list that the user can use to set the order of the search. The user sees a grid holding the results of a SQL statement that was create in the LOAD event. When the user puts in some characters in the search textbox control, to narrow the search a bit, I re-execute the SQL statement against the same base table called Quotes, and tha search is basd on what was enteresd into the textbox.
>
>I know that the results of the SQL are good, but my grid goes blank. I know I've used something in the past called Requery, but I think that was in local and remote views. Is there something similar to make the data appear in the grid once you've re-executed the query? Do you have to reset the RecordSource? I am thinking that this is the answer to my problem of the blank grid, the RecordSource.

I would save the grid as a class (in designer) and remove it if it exists and then instantiate it after you do a select. That was my standard way to handle a new source for a grid.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform