Use a parameterize view into the child table.
>I heard advices on this forum thats is not wise using set filter
>
>How could I replace the line below with set relation command ?
>I am using it in a form with cursors in its dataenvironment
>
>Regards
>
>Moses
>
>SET FILTER TO ALLTRIM(UPPER(FATHER_TABLE.type)) = ALLTRIM(UPPER(child_TABLE.type))
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer