Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00434202
Message ID:
00435005
Vues:
26
>In a form, be sure you aren't setting the filter to a variable that will go out of scope when the method you're in closes. For example if you have a variable "cID" in the INIT and do
>
>SET FILTER TO IDField = cID
>
>you'll find that the filter doesn't work later on because the program can't find cID - it was local to the INIT method. You need to put the value into a form property instead.
>

Or resolve it to a literal - not my idea of a good time, but it's an alternative:

SET FILTER TO [&cID]
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform