Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set filter to an absolut value
Message
 
À
27/02/2003 02:39:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00758405
Message ID:
00760126
Vues:
22
Hi Cetin.

Thanks for another approcah !!

regards,

Gerard


>>Hi.
>>I'm using a file in a form and i need to set a filter on the file, which will be recognized across screens.
>>
>>My command is something like:
>>
>>Sele MyFile
>>Set filter to Myfile.Myfield = Thisform.MyFilterValue
>> (Say thisform.MyFilterValue = 100)
>>
>>Now wen I call up a sub form, it kicks up because it cannot see Thisform.MyfilterValue (as its on the calling form !!)
>>
>>I want the set filter to read the absolute value i.e.
>>? Set('Filter') to = ---> Myfile.Myfield = 100
>> and not
>>Myfile.Myfield = Thiform.MyfilterValue
>>
>>regards,
>>
>>Gerard
>
>Gerard,
>As an addition to what Sergey said for such expressions you could also use :
>set key to thisform.MyFilterValue
>provided table's active index key is myField. It's evaluated once at the start.
>Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform