I'll try it. Thank you Pamela.
>Hi Roger,
>
>>>>In a Class - Is there a way to find out the parent Tag-Name when looking at a child table when a relation has been defined beetween Parent/Child, having only the child table available?
>
>If I understand you correctly, would something like this work?
>
>
lcReturn = ''
>lnSelect = Select(0)
>
>FOR m.i = 1 TO AUsed(laTables)
> SELECT laTables[m.i,2]
> IF Alias(lnSelect) $ Upper(Set('Relation'))
> lcReturn = laTables[m.i,1]
> ENDIF
>ENDFOR
>Select(lnSelect)
>RETURN lcReturn
One can acquire everything in solitude but character.
Stendhal (1783-1842)