Why not set the filter directly in the dataenvironment, in the properties?
BTW, in stead of Select mytable and then Set filter to cf=.F. you can use Set filter to mytable.cf=.F. in mytable, or even better: Set filter to !mytable.cf in mytable
>I have a form with a table in the dataenvironment. In my INIT event I have Select mytable Set Filter To cf = .F. ThisForm.Refresh. When the form starts the filter is not taking affect. Please help.