Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding Parent Tag-Name field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00553797
Message ID:
00554757
Vues:
15
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform