Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataEnvironment , Filter
Message
De
08/07/2002 18:00:26
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
08/07/2002 13:37:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00676227
Message ID:
00676383
Vues:
14
This message has been marked as the solution to the initial question of the thread.
You can reassign the Filter condition for a table in a DE in code, as follows (say the Table is called Cursor1):
THISFORM.Dataenvironment.Cursor1.Filter=<myFilterConditionString>
THISFORM.Refresh()
HTH,

-Irv.


>Hi
>
>I have a Form1 with 2 command buttons .
>In Click CommandButton1 - DO FORM Form2 WITH "CB1"
>In Click CommandButton2 - DO FORM Form2 WITH "CB2"
>
>In Form2 Init - Parameter CBPar
>ThisForm.CBParent = CBPar
>
>
>In Form 2 , in Data Environment , i have a Table1 .
>Now i want , in Data Environmet.Cursor1.Filter = ;
>IIF(ThisForm.CBParent = "Cb1" , , )
>
>But I can´t do this because property CBParent yet not exist .
>
>yes , i know that i can in form init , make SET FILTER , but it´s possible in DataEnvironment make what i want ?
>
>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform