Customer Portal

Adding a sequence

Comments 3

  • Avatar
    oldforum
    0
    Comment actions Permalink
    Ok, in this case, use sort component first to get together records with the same key and then in reformat just check when the value of the key field changes and increase internal counter.

    David.
  • Avatar
    oldforum
    0
    Comment actions Permalink
    I'm not sure, but if you want numbering records with same key, you must use reformat component and write this funcionality in transform code. Sequence in this case is unusable.
  • Avatar
    oldforum
    0
    Comment actions Permalink
    I am not quite sure that I understand what you need to achieve, but Clover has persistent Sequences which may be used for something like numbering records.

    Sequences works similarly to database sequences. Each call to next() generates new unique number. Actual value is stored on disk, so it is quarantedd to generate unique numbers.

    If you use CloverGUI, sequences can be defined there quite easily.

    CloverExamples package contains example/demo graph which uses sequences.

    David.

Please sign in to leave a comment.