mfcobol2002
Programmer
Problem:
when we used the command READ PREVIOUS in a listview the order not always leaves the form that we wanted. We would have the illustration 1.jpg for instance:
Solution:
If we click in the header Item the order it will be corrected. But we suppose that want the order to come out correct without the user's interference.
those commands can be used inside of your CBL. doesn't need to be necessarily the control program. We would have the illustration 1a.jpg for instance:
local-storage section.
01 num-col pic x(4) comp-5.
procedure division.
.
.
.
move 1 to num-col
Invoke lview-01-objref "SortOnColumn" using num-col
.
Marcos A.S.
Brasil