Posted on 2004-10-04
I have asked a question related to soring subfile which i got answer from daveslater .
But i couldn't understood how to use QSORT.
I have a subfile with values in status field like -
e.g Open,Delete,Close in status field.
When the user types 1 - the subfile should be displayed records by - Open,Delete,Close.
Similarly When the user types 2 - the subfile should be displayed records by - Delete,Close,Open.
i.e sorting status field on status field .
How can i use QSORT api in this situation ??
Do i need to pass the D,C,O paramter to this API procedure ??
Pls give an example.
Thanks and waiting..