I’ve declared a variable SLNO as integer using VScode. In predataitem trigger I’ve assigned SLNO:=0, and Aftergetrecord trigger SLNO+=1. I’ve supposed to skip the serial numbers when a comment comes instead of Items. How could I do the skipping the serial numbers? If I’m assigning “If Type:= Type::Comment then begin SLNO:=0; end;” for this the next serial number starts from “1” but I want to continue SLNO with skipping only.