× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



That is fine if you keep it as numeric. As soon as you use DIGITS it pads
the left with Zeros when placed in the character field
00123456 stored in Numeric with the proper EditCode will display 123456,
but use DIGITS with that number and the you are back to 0123456 assuming
you have an 8 position field.

On Thu, Mar 7, 2013 at 3:00 PM, DeLong, Eric <EDeLong@xxxxxxxxxxxxxxx>wrote:

In SQL, just use CHAR( mynum )...

In Query, just change the numeric edit code used for the field.

-Eric DeLOng

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kirk Goins
Sent: Thursday, March 07, 2013 4:30 PM
To: Midrange-L
Subject: No Leading Zero's when using Digits function in Query

Is it possible from within Query to convert a numeric field to char without
leading zero's? DIGITS puts leading zero's inthe char field.

Thanks

--
Kirk
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.