AW: Selected Line Only

Rudolf Bargholz rudolf at
Mon Jul 11 04:45:45 UTC 2022

Hi Martin,

Calculate lLineCount as List.$linecount
For List.$line from 1 to lLinecount step 1
  If List.0.$selected
    ... Do stuff on the selected lines
  End If
Enf For

If you are in an object class, in an instance, then the following can also work:

Do List.$sendall($cinst.$processLine($sendallref),$ref.$selected)

For each selected line the method $processLine is called with the List as a field reference parameter with the appropriate selected line set as current.


Rudolf Bargholz

-----Ursprüngliche Nachricht-----
Von: omnisdev-en <omnisdev-en-bounces at> Im Auftrag von Martin Obongita via omnisdev-en
Gesendet: Sonntag, 10. Juli 2022 22:21
An: omnisdev-en at
Cc: Martin Obongita <martin.obongita at>
Betreff: Selected Line Only

Hi Friends, What is the syntax for "Selected lines only" in the FOR loop statement, For each line in list from 1 to iDataList step 1?

Manage your list subscriptions at Start a new message -> mailto:omnisdev-en at 

More information about the omnisdev-en mailing list