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:
01098648
Vues:
13
His code uses variables to build the filter string. Thre're no references to the variables in the filter stringf itself.

> You may be right, although I am confused. How would Hugo's code be able to handle the variables going out of scope any differently from my code?
> My code is:
>*********************************
>...
>CASE !EMPTY(ThisForm.txtFName.Value).and.!EMPTY(ThisForm.txtLName.Value)
>lcLName = ThisForm.txtLName.Value
>lcFName = ThisForm.txtFName.Value
>SET FILTER TO UPPER(People.FName) = ALLTRIM(UPPER(lcFName));
>.AND.UPPER(People.LName) = ALLTRIM(UPPER(lcLName))
>...
>*********************************
>
>Jerry
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform