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
Pedro Silva
world is wonderful with your help .