Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Checksum digit calculation for EAN-13

Featured Replies

Hi,

Can anybody help me with creating a calculation to generate the checksum digit for EAN-13 barcode? I know how it gets worked out.

The calculation needs to consider the 12 digits in the number as even and odd, where the first digit from left is even.

Then:

1. sum the digits in all odd positions and multipy the result by 3

2. sum the digits in all even positions

3. sum the totals calculated in step 1 and 2

4. The check digit is the number which, when added to the totals calculated in step 4, result in a number evenly divisible by 10.

5. If the sum calculated in 4 is already easily divisible by 10 the check digit is 0

Actually I can probably do all the calculations, I just can't figure out how to determine the odd and even positions. Or do I do this by doing a sum of a series of Left(text,number)?

By the way, I'm doing this for a database that's Filemaker 6.

Thanks for any help to get me going.

Gabriela

Ready solution example with 3 free fonts for EAN-13:

http://www.filemakerprofis.de/tipp_id_22_kategorie_Barcodes.html

http://www.filemakerprofis.de/tippdownloads/ean13.zip

Happy FileMaking Ralph Nusser

There is a sample file in the [color:blue]Sample File Topics that was donated by [color:blue]cjaeger Here

HTH

Lee

  • Author

Thanks a lot to Ralph and Lee, I get it, all very helpful. Finally understand how to use Mod(number,divisor). Sometimes it just needs a little kick to get the brain going.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.