Print Box 1 Of X With Textfile As Datasource Seguir

0
Avatar
Legacy Poster

Hello everybody,

I'm trying to use the serialisation function with a text file, but Bartender does not reset the serialized field.

 

What I have is a file that looks like

 

1;John Wayne

2;Kirk Douglas

1;Humphrey Bogart

 

The number is the number of Boxes. And I need "Box 1 of x" on every label.

 

So in this example I need 4 Labels:

 

Box 1 of 1 John Wayne

Box 1 of 2 Kirk Douglas

Box 2 of 2 Kirk Douglas

Box 1 of 1 Humphrey Bogart

 

I tried to use the serialization, but what I get is:

 

Box 1 of 1 John Wayne

Box 2 of 2 Kirk Douglas

Box 3 of 2 Kirk Douglas

Box 4 of 1 Humphrey Bogart.

 

BT does not reset the serialization - how do I manage this ?

 

Thank you

Thomas

8 comentarios

0
Avatar
Fernando Ramos Miracle
Moderador
Acciones de comentarios Permalink

Hello,

 

Could you let me know what version and edition of BarTender are you working with? Note that on our latest version we greatly improved our serialization feature and we now support resenting a serial number upon new records.

 

In any case, this can also be done through an event based VB script.

 

If you have an older version I can send you a simple example on how to get it done.

 

Regards.

0
Avatar
Legacy Poster
Acciones de comentarios Permalink

We use Bartender 10.0 SR4

-1
Avatar
Domingo Rodriguez
Moderador
Acciones de comentarios Permalink

I've attached a BarTender document sample for you to examine. Copy the database file to "c:\Seagull". You will see that for the X data source from "X of Y" I've used an Event Based VBScript, mainly on "OnNewRecord" and "OnSerialize" events. 

 

Please let me know if the sample works correctly for you.

0
Avatar
Legacy Poster
Acciones de comentarios Permalink

Today I tried this solution - works perfect :D Thanks a lot.

0
Avatar
Shrinivas Narayanan
Acciones de comentarios Permalink

Hi,

I'm having the same requirement to print labels and I'm using version 10. Could you please share the document sample that is being mentioned on this support thread ?

0
Avatar
Simon DESCAMPS
Acciones de comentarios Permalink

Hello,

I have exactly the same need and I also using version10. I'm also interrested in this sample file.

Thanks in advance !

0
Avatar
Domingo Rodriguez
Moderador
Acciones de comentarios Permalink

Hello,

Find below a link with a copy of the examples files.

Have in mind that in newer versions of BarTender this feature exists out of the box (including several reset options for the serialization).

Document and database file.

0
Avatar
Simon DESCAMPS
Acciones de comentarios Permalink

It works perfectly ! Thank you very much !

Iniciar sesión para dejar un comentario.