Brian Dunning's FileMaker Custom Functions

cfCode128Mod ( pString ; pCodeSet )

Modified cfCode128() for a different Code128 font. Also reduce potential script errors.

  Be the first to rate this function Log in to vote

Philip Wang   Philip Wang - Show more from this author
106th Street Wheel and Tire
http://www.106sttire.com

Share on Facebook Share on Twitter

  Sample input:
4T1BK36B25U059897; "A"
1HGCR3F83GA022209; "A"
123456789; "C"
  Sample output:
Ð4T1BK36B25U059897iÓ
Ð1HGCR3F83GA0222095Ó
Ò!7Mcy iÓ

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Love the excellent cfCode128 function from Tammo and Felix, but unfortunately I can only get hold of an incompatible code128 font. So in order to make this font work I changed some character codes in this function, also fix a little bit here and there, but main kudos should go to Tammo and Felix.
( Updated 06/03/2021: Fix the trailing 0 problem for code set "C". )

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: