Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form like Parent /Child table
Message
De
03/03/2000 07:14:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/03/2000 21:56:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00341034
Message ID:
00341144
Vues:
27
>Hi all,
>
>I have this problem and i apreciate if anyone can help me.
>
>I have a Grid with parent/child.
>
>And i have a key with 3 fields (ex: c_coddoc+c_arm+c_numdoc) and i want to link the child with this value from the 3 fields, but the builder only show the fields of the database in the key field and not the composite key that i have create with the name 'KeyCab'
>
>Is there any way to do that without a view?
>
>Thank's in Advance
>
>Joao Batista
>(jbinf@mail.telepac.pt)


Ignore what builder forces you to do and choose first field. After form is built go to DE and delete relation. Go to grid and set properties :
LinkMaster = "ParentTable"
ChildOrder = "YourCombinedIndexTag"
RelationalExpression = "ParentField_s_ThatLinkToChild"
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform