Solved

Need a function to code character strings for Bar Code 128

Posted on 2011-09-10
3
1,694 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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