Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting of Data with Relation
Message
From
14/08/2002 03:01:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/08/2002 01:31:05
Rahul Murarka
Sys-Con Engineering
Kolkata, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00689423
Message ID:
00689437
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform