2001 - Stopping Zero Suppression in Primary Integer Field (AREV Specific)
At 02 JAN 2001 06:11:02PM Lea Kramer wrote:
Hello Techies:
As you know its the year 2001 and unfortuantely at our site we are using the DOS version of Arev which is not Y2K compliant. I am having a problem keeping the leading zero on one of my primary keys to read 01 for the year 2001, its not a date field its an integer field. I need it to start with the number 01* and it drops the zero and now we are having to us 21* as the basis to start the sequence for this year; which is not making Administration happy.
So my question to you is how do you stop it from automatically suppressing the leading zero if you want it in your format for an integer field?
Please send me your phone number if possible. I am at a mission critical site and I am hoping that changing the validation pattern for this field is the answer but thus far has failed for 2000 sequence using 00 as the leading two digits. We ended up using 20 as the two leading digits for this primary field last year. But are hoping to use 01 as the first two digits. Can I pad with leading zero or can I stop zero suppression?
Thank you for any input you can give.
Lea Kramer
System Analyst
Durango LaPlata 911 Communication Center
970-385-2906
kramerla@ci.durango.com
At 03 JAN 2001 09:32AM Larry Wilson wrote:
Lea,
Your email address came back as unknown server. I'm at 512-632-2434 if you'd like to talk about the zero problem, or email me a good address.Larry Wilson
larry@AdvancedRevelation.com
At 03 JAN 2001 12:56PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
The best way to do this is with the numtochar_conv user-defined conversion. This is a system suplied conversion, like PHONE_FORMAT and should exist in SYSOBJ.
It did not ship with all versions of ARev though, it started about 3.03.
Incidentally, all versions of ARev were Y2K compliant.
World Leaders in all things RevSoft
At 03 JAN 2001 05:34PM E DREWS wrote:
Lea,
I would be happy to take a look at the problem you are encountering. I can be reached at edrews@drews-ent.com or 908 665 2513. Feel free to check my website at www.drews-ent.com. Many years of Pick/Arev experience.
Regards,
Eric Drews
Drews Enterprises
edrews@drews-ent.com
908 665 2513