I'm sure this has been asked/answered but can't seem to locate the discussion.
My database includes UPC's (12 digit) and EAN's (13 digits). I'm looking for help on a calculation that I can use to validate that the UPC/EAN was entered correctly. I know this involves the last "check digit" but not sure how to go about writing the correct formula.
Thanks in advance.