use parenttable in 0 use childtable in 0 order tag reltag select parenttable set relation to parkeyfield into childtable select childtable set order to anothertagWould present a wrong relation and child would be empty (or by chance would be filled with parent-anothertag matching recs). So it's not strange. Have the correct relation, still sort on another field, you could use compound indexes :
* Child - assume parentlink is char custid index on custId+dtos(dOrderDate) tag reltagWould provide correct link + a sort on dorderdate field.
use parenttable in 0
>>use childtable in 0 order tag reltag
>>select parenttable
>>set relation to parkeyfield into childtable
>>
>>* Correspond to properties of child grid
>>Childorder = "reltag"
>>Linkmaster = "parenttable"
>>RelationalExpression = "parkeyfield"Ç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