Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorting of Data with Relation
Message
De
14/08/2002 03:01:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/08/2002 01:31:05
Rahul Murarka
Sys-Con Engineering
Kolkata, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00689423
Message ID:
00689437
Vues:
16
>Dear Sir/madam
>
>There is a entry form of Clients in which Contacts list is also included for that particular client in a grid . Client and Contact table is linked in the data envoirement by Clncode. Everthing is working fine execpt the list of contact person showing in a grid is not alphabetical or not in correct order. If in data enviorement I Select Child table order as Clncode the display in the grid is there but any other sort order is set the display in grid is not there. Please help how to display the contact name in a grid alphbetically.

Create and use a compund index key. ie: assuming your cInCode is char :

index on cIncode+lastname+firstname tag main


* Relation
select child
set order to tag main
select Parent
set relation to cInCode into Child

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