Hi,
Say I have a few hundred items in a listview. I manually select 10 of them
How do I run through just the selected items to print them? I already have
the print mechanism in place, it is just the problem of getting the selected items
and outputting them
Thanks,
Brian
This should work:
count = CONTROLCMD(dView,1, @LVGETCOUNT)
FOR i = 0 to count - 1
IF CONTROLCMD(dView,1,@LVGETSELECTED,i)
' Print record
ENDIF
NEXT i
Bill
Thanks, Bill - your code was not as long-winded as mine!
Brian