>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))
Is "child" a grid and have an index on upper(type)? If so then:
*Grid
ChildOrder: tagname here which has key upper(type)
LinkMaster: father_table
RelationalExpr: upper(type)
Relation approach:
set realtion to upper(type) into childTable in fatherTable
Set key to approach:
set key to upper(fatherTable.Type)
Cetin