Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1 to many relation
Message
De
17/05/1999 17:25:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
1 to many relation
Divers
Thread ID:
00219807
Message ID:
00219807
Vues:
59
I wanted to create a 1 to many relation, and use the properties of the child grid.

My primary database, called be, has an index on a field called bcnudos

My child database, called BCL, has a index on a field called bcnudos+str(bclig,3,0)
with T1 as tag name. bclig is the line number.

The properpties I gave to the grid were

Childorder = T1
Linkmaster = BE
Recordsource = BCL
recordsourcetype = 1
relationalexpr = be.bcnudos

With this informations the grid did not show the lines. To work correctly i had to create an index on the child database on bcnudos, but in this case the lines where not represented in an ascending order, but in the natural order.

How can i do to have the lines in an ascending order, THANKS
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform