Board index » delphi » Sorting Details in a Master/Detail relation

Sorting Details in a Master/Detail relation

Question, how can i sort detail record (dBase files) in a Master/Detail
relation ?

Thanx

Frank Bijlard

 

Re:Sorting Details in a Master/Detail relation


Quote
"epenhuy...@worldonline.nl" wrote:

> Question, how can i sort detail record (dBase files) in a Master/Detail
> relation ?

You can use a composite index on the Detail table built on muliple keys.

Each index would first sort on the relationship's key field, then the
desired
new column(s).

Hope that helps..

Rkr

--
                   \|||/
                   /'^'\
                  ( 0 0 )
--------------oOOO--(_)--OOOo--------------
. Reid Roman                              .
. Delphi Programmer / Analyst             .
. TVisualBasic:=class(None);              .
. May the Source be With You              .
-------------------------------------------
. Auto-By-Tel (http://www.autobytel.com)  .
. Irvine, CA U.S.A                        .
. E-Mail : rkroman (at) pacbell (dot) net .
. or reidr (at) autobytel (dot) com       .
-------------------------------------------

Other Threads