Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid secondary sorting
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01126661
Message ID:
01126753
Vues:
20
Dallas,

You can use a parameterized view on the child table.

>I have a main table and a child table, all connected with appropriate primary (parent) and foreign (child) key: "indexes". The form has both tables displayed in its own grid. Move the pointer in the parent and all the children repopulate, according. It works great.
>
>I don't display any of the pk/fk on the grids.
>
>Now I would like everything to stay connected but I want the child table displayed in descending order on one of the date fields (most current on top). The child table has an index tag [INDEX on dtos(sentdate) TAG sentdate DESCENDING] and I would like it to sort the display of the child grid without disrupting the already established pk/fk connection.
>
>This doesn't sound all that complex, but changing the controling index of the child table looses the pk/fk connection. Is there a way to keep the pk/fk link but display the child grid in a different order.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform