User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:concepts:rowlist [2020/02/24 11:24]
tiger [Example: Split data]
en:concepts:rowlist [2021/04/26 23:00] (current)
tiger
Line 1: Line 1:
-====== Processing the rows on a worksheet ======+{{indexmenu_n>4}} 
 +====== Processing the rows/columns one by one on a worksheet ======
  
-A common task is to process data in a data source according to categories that can be found on another worksheet. A good example is having a list of departments managed in a worksheet and independently some reports that should be generated //separately// for every department using a //common// data source. Djeeni uses the concept of a row list to solve this task.+A common task is to process data in a data source according to categories that can be found on another worksheet. A good example is having a list of departments managed in a worksheet and independently some reports that should be generated //separately// for every department using a //common// data source. Djeeni uses the concept of a row/column list to solve this task.
  
-A row list is a loop between the **Row List Start** and **Row List Next** process steps. At **Row List Start** you specify the worksheet and the rows on the worksheet that should be processed. Djeeni will take the rows one by one and then performs the further process steps up to **Row List Next**. At that point Djeeni takes the next row in the row list and repeats the process steps again:+A //row list// is a loop between the **[[en:process_steps:rowlist|Row List Start]]** and **[[en:process_steps:rowlist|Row List Next]]** process steps. At **Row List Start** you specify the worksheet and the rows on the worksheet that should be processed. Djeeni will take the rows one by one and then performs the process steps inside the loop up to **Row List Next**. At that point Djeeni takes the next row in the row list and repeats the process steps again:
  
 <code> <code>
Line 12: Line 13:
  
 You can reach any cells in the current row by referring to the appropriate column letter and #. Example: if the cell in column D of the current row in the row list must be accessed then you can type D#. You can reach any cells in the current row by referring to the appropriate column letter and #. Example: if the cell in column D of the current row in the row list must be accessed then you can type D#.
 +
 +A //column list// works the same way looping through columns. It uses also the # sign to refer to the current column: #3.
  
 ===== Example: Split data ===== ===== Example: Split data =====