>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 ?
>
Hi Pedro
Just set the properties:
.AUTOPENTABLES and .AUTOCLOSETABLES to false, and try to create a new method for open and close your tables
Hth
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20