Go Back   Printable User Community > Software-Related Talk > The JavaScript Library > Barcodes

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 12th, 2008, 11:41 AM
Mike Duschak Mike Duschak is offline
Forum n00b
 
Join Date: Sep 2008
Location: Milwaukee
Posts: 8
Default Combining rules: UPCA and Sequential Numbering

Is it possible to combine the sequential numbering rule and the UPCA barcode rule?

My starting number would be 850000 and ending at 970000.

I would need to use the UPCA Barcode rule so the checksum is calculated correctly.

I know the easy way would be the create the list as a CSV and import, but I want to know if there is a way to avoid having to do the extra step of creating a separate file.

Thanks for your help/thoughts on this one!
__________________
"If the good Lord had intended us to walk he wouldn't have invented roller-skates."
Willy Wonka
Reply With Quote
  #2  
Old January 20th, 2009, 07:02 AM
jfox@gill-line.com jfox@gill-line.com is offline
Forum n00b
 
Join Date: Jan 2009
Posts: 4
Default Re: Combining rules: UPCA and Sequential Numbering

I use a combination of two rules;

Code:
return FormatNumber("00000000000" 849999 + CurrentRecordNumber());
name that rule "numbering" then make a new rule like this;

Code:
return MakeUPCABarcode(Rule("numbering"))
if you are not using UPCA barcodes and you don't need the 11 digits you can use a simpler numbering rule like this

Code:
return 849999 + CurrentRecordNumber();
hope this helps.

Last edited by jfox@gill-line.com; January 20th, 2009 at 07:05 AM..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 2010, Printable Technologies™, Inc.