Solved

Need a function to code character strings for Bar Code 128

Posted on 2011-09-10
3
1,596 Views
Last Modified: 2013-11-13
Another user of this forum has provided me with information on how to use a code128 font to build a bar code.  The original information and code is posted at www.jtbarton.com.

Barcode "Code128" requires a start bit and a checksum, in addition to a character to selection the desired character set.  This means that in order to use a font as a bar code, a function must be written to add the appropriate prefix and suffix to the desired string that you intend to represent as bar code.

A free string conversion function is also provided on the jtbarton website, however the problem is that it is not provided in Access vba.  Does anyone know where I can get a function to build the appropriate character string?

As an alternative, I will consider purchasing a commercially available bar code product as long as the product does not restrict its use with some form of copy protection.

Thanks, PC
0
Comment
Question by:pcalabria
3 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 36516423
Here's a site with code:

http://www.azalea.com/code-128/visual-basic/

Jim.
0
 
LVL 6

Assisted Solution

by:tncode
tncode earned 250 total points
ID: 36522525
You can create Code 128 (Auto, A, B, and C) using VBA Code from IDAutomation at:
http://www.idautomation.com/fonts/tools/vba/

There is also a video tutorial that can help guide you, Create Code 128 Barcodes in Access:
http://www.youtube.com/watch?v=MhXYMfroqkc
0
 

Author Closing Comment

by:pcalabria
ID: 36555925
Thanks!

I'm not sure which approach I'll take, but this may take some time so I wanted to award the points so I would not forget.

Thanks again!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now