Incrementing GDF per set of records (i.e. per print copy) フォローする

0
Avatar
Ira Horecka

This seems like a straight-forward concept, but I cannot figure it out.

I want to print an incrementing (++1) GDF serial number that retains a constant serial number per batch of records. E.g. say I have six records (A, B, C, D, E, F). An example of the serial number when concatenated with a record is "A_1".

Desired outcome (let's say I'm starting anew with an increment=1) :: printing all six records of one print copy will yield: (A_1, B_1, C_1, D_1, E_1, F_1). Next, printing all six records with two print copies will yield: (A_2, B_2, C_2, D_2, E_2, F_2, A_3 B_3, C_3, D_3, E_3, F_3).

Current close-but-not-quite outcome #1 :: I set "When to increment : Event" under serialization-transform as "Every record". This, however, yields the following outcome (say I print two copies with an increment=1): (A_1, A_1, B_2, B_2, C_3, C_3, D_4, D_4, E_5, E_5, F_6, F_6).

Current close-but-not-quite outcome #2 :: I set "When to increment : Event" under serialization-transform as "Every print job". This, however, yields the following outcome (say I print two copies with an increment=1): (A_1, A_1, B_1, B_1, C_1, C_1, D_1, D_1, E_1, E_1, F_1, F_1).

Any suggestion would be great! Thanks

2 コメント

0
Avatar
Pete Thane
コメントアクション Permalink

You need to set the number up as two separate sub stings that have different serialisation:

String1 

Set to Alphabetical only and to increment by 1 each label 

Reset set to return to A when F is reached in the sequence.

 

String2

Set as below plus configure the reset as you require (each job etc)

 

This gives: 

 

0
Avatar
Ira Horecka
コメントアクション Permalink

Hi Pete,

Thank you for the detailed answer. I will work on your suggestion for the numerical serialization.

I'd like to mention that I oversimplified my symptoms in the post. I am actually working with a character string prefixes sourced from a database. There are six unique strings ("DRNA", "DDNA", "KHI1", "KHI2", "XLO1", "XLO2"). To make it more complicated, these records could be selected by the user (1...6) during a print job.

So if a user selected "DRNA", "DDNA", "KHI1" in the prompt and wanted two serialized sets, the desired outcome will look like: DRNA_1, DDNA_1, KHI1_1, DRNA_2, DDNA_2, KHI1_2

サインインしてコメントを残してください。