Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 11 When Refreshing Grid from Filtered Table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01098317
Message ID:
01098319
Vues:
8
Jerry, You can not use thisform in a filter expression, for it goes out of scope, try building the filter with constants, something like
lcFilter = [UPPER(People.FName) = "] + ALLTRIM(UPPER(ThisForm.txtFName.Value)) + [" AND UPPER(People.LName) = "] + ALLTRIM(UPPER(ThisForm.txtLName.Value)) + ["]

set filter &lcFilter
Assuming there are no double quotes in the values of the text boxes
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform