Component numbering

Hello, I'm new to SW ELECTRICAL (I specify).

I just noticed that the numbering of my components starts more at 1 on each folio, they take a serial number from the beginning of the project, I find myself with a reel that bears for example the mark KA5115 while it is the first reel of folio 51, However, it seems to me that my formula is good:

COMPONENT_ROOT + FILE_TAG + STRZ(VAL(COMPONENT_ORDERNO), 2, 0)

COMPONENT_ROOT: ROOT: KA

FILE_TAG: FOLIO NUMBER: 51

STRZ(VAL(COMPONENT_ORDERNO), 2, 0): ORDER ON 2 COORDINATE SYSTEM

Thank you for your answers... I pull my hair

 

 

 

In fact I had checked the box unique serial number in project configuration\reference mark see attachment


numero_ordre_unique.png