Increment DataField

  • 8 February 2006
  • 2 replies
  • 0 views

Badge +7
Hi all,

can I increment a DataField (integer) in a LineRule. Somehow I don't get it work. I want to add 1 (DataField + 1)for each time the process goes that line.

Thx

2 replies

Badge +7
of course, you can do it by editing the code of the line rule.

Just keep in mind that data fields are object and you have to cast them before using them.

for int, and to incremente, I used

.Value + 1;


the "++" operator didn't work for me...
Badge +7
Thx Tan.

Reply