Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ChildOrder & Order Have No Effect
Message
 
À
26/04/2000 17:15:43
Menachem Turchick
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00363810
Message ID:
00363928
Vues:
19
ChildOrder is the tag needed by the child table in the relation. If you need to show the children in some specific order, build a compound tag that has the FK plus the order you need for the children.


>I'm having trouble sorting data in a grid using the ChildOrder property. I have two tables in a one-to-many relationship. The grid shows the data from the 2nd table. The RelationalExpr property is set to the key field that links the tables. When ChildOrder is also set to this value the grid displays the correct data, but I'd like to sort by a second indexed field. When I specify this field as the ChildOrder, however, the grid is empty. I've also tried leaving ChildOrder blank and putting the sort field in the Order property of the cursor object in the Data Environment. In this case the data is displayed in the grid, but it isn't sorted. I've also tried changing the active index in code, but this doesn't work either. What am I doing wrong?
>
>Thanks for your help,
>Menachem
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform