[ic] Creating UNIQUE NUMBER

Ed LaFrance interchange-users@interchange.redhat.com
Mon Mar 18 10:48:01 2002


At 03:25 PM 3/18/2002 +1030, you wrote:
>Hi guys;
>
>I am just refering to my previous email. Does anyone know how to create
>a uniques primary key number that will autoincrement itself but will
>bein following format:
>
>
>#ID0001 or something similar.
>
>
>Please help.
>
>Any help highly welcome.
>
>Alma

The [counter] tag will do this. Take a look etc/order.counter for an 
example of the format the of the counter file; you can start the number 
with one or more alpha characters and IC will preserve those. Take a look 
at the tag docs for [counter] for more info.

- Ed L.


===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================