Cetin,
No, actual DD_earappdwg.rd_dsort field is built from two table fields from foreign key (joined) table DD_dwgh. DD_dwgh.dh_dwgnum + DD_dwgh.dh_rev (both Char fields).
The problem from your solution as I see it, is that the ChildOrder property of Grid (from my understanding) must match exactly the field data value from RelationalExpr field from LinkMaster (parent) table.
NOTE: ar_rcn, and rd_rcn are Integer data type fields.
Parent table, RelationalExpr field is: DD_ear.ar_rcn
You've made ChildOrder as: DD_ear.mysorter (rd_rcn+rd_dsort)
Wouldn't this corrupt the exact match link from Child to Parent table for grid contents?
Fz
Don