Ai In Ean128/gs128 S’abonner

0
Avatar
Legacy Poster

I connected a barcode to a database field. This barcode is a variable EAN128 code.

How can I identify the blocks (AI + value)?

12 commentaires

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

Run the GS1 application identifier wizard as this will create separate data sources and configure them: http://www.seagullscientific.com/media/101559/gs1-application-identifiers-201511.pdf

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Is it possible to automate this via VBA?

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

You can automate BarTender programatically via .NET and COM so the answer about VBA is yes.  You can then get/set named data sources in your barcode if you wish to.  Check the BarTender Help system for a full reference.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Can named data sources be added programatically to a barcode? Same with the different sources within a barcode?

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

Nope, the data source would need to exist already in the design of the document.  You can then programmatically get/set those named data sources from an external application.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

That's a pity, makes things more complicated as a GS1 128 can be dynamically.

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

It would be nice for sure.  However, please note that a GS1 barcode's data source can be entirely set using just a single (all be it concatenated with various strings) data source.  There is no rule that stipulates that the overall data source is made out of many individual BarTender data sources.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

That's true but how about the AI?

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

The AI's and field data can all be part of the same data source if you wanted.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

I don't think it'll work if I put a data string like (10)AAAAA^1(17)160611 in the data source?

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

The data source should not include the parenthesis, these are rendered for you in the human readable options of the barcode object.  Therefore: 10AAAAA^117160611

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

It's working. Thanks!

Vous devez vous connecter pour laisser un commentaire.