12 Replies Latest reply: Aug 13, 2010 4:18 AM by StefanFN RSS

    counting rows

    StefanFN

      Hello,

      newbie question. I try to count the selected entries of a table. I have a script

      LOAD * INLINE [
      F1,F2
      A,1
      B,2
      B,3
      C,4
      C,5
      C,6
      ];

      And there's a table box with F1 and F2. Now I want to have another table box to show the number of rows in the first table. The result should be 6 for no selection, 1 for A selected, 2 for B and 3 for C. I know there are count functions but I don't know how to apply them because I don't know how to refer a table.

      Can you please help me? Thank you.

      Stefan