Hi Brother Esgici,
How are you, long days back I am reading your message.

Yes, it's sea, Bay of Bengal

Hope, I am not looking angry in this picture
My friend took the photograph when I was checking my mobile, yes it's a bad habbit, but I am expecting to run one QT based HMG app on this (yes, it's Nokia)
Ok, regarding my query, I am working on a project with DBFCDX where user can check anytype of sort order (yes, it will be multiple and one with in another) for viewing or printing.
Eg., Table table has 4 fields: BillNo, BillDt, CustCode, NetAmt
User may want to view in the order:
Code: Select all
CustCode
BillDt
BillNo
Here first it is sorted with CustCode. Within CustCode - BillDt and within BillDt, BillNo
This type of sorting can be done by storing the records in an array and then using ASROT() within a FOR ... NEXT loop. But, I want to use Index keys (CDX). I am not sure, how to do this.
Hope I am able to express what I am thinking
Thank you very much
