Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A different order for child table than the ordering index?
Message
De
03/10/1998 23:03:47
Mark Pelea
Manatee County Health Department
Bradenton, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
A different order for child table than the ordering index?
Divers
Thread ID:
00143669
Message ID:
00143669
Vues:
69
Hi there,

Is there a way to order a child table in a relation other than the the
"ordering" index in a parent/child relation? This is only for displaying in
a grid or a browse window...

I have established a relation with the parent ID into the child ID with the
command:

Use PARENT In 0 Alias PARENT Order ID
Use CHILD In 0 Alias CHILD Order ID

Select PARENT
Set Relation To ID Into CHILD

The only way I can display on a grid the records on the child ID that match
the ID of the parent ID is to ORDER THE CHILD BY THE TAG "ID". I have
another field within the child that is a DATE field that is also indexed on
DATE. However if I change the order of the child table to other than the
ordering index "ID", the grid wil not display any records. This is
convenient when I need to resort the information to the DATE field of the
child... Anybody have a solution to this problem??

Thanks,
Mark
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform