×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




SUBSTR Substring is only allowed on strings. You have to convert your numeric to a string befors using substr: SUBSTR(DIGITS(IDDOCD),1,6). The result is a string.

Best regards

Jan

Am 28.02.2014 15:25, schrieb Hoteltravelfundotcom:
HI I am getting an error when i try to make substring. The date we have is
8 pos. yyyymmdd
i need to sort according to month. I get this error "SUBSTR value is not
allowed. " this is because it is numeric and it's not allowed to substr
on numeric?

YYYYMM SUBSTR(IDDOCD,1,6) 06
00





Bottom


Field Text Len
Dec
IDORDT ORDER TYPE 3

IDDOCD DOCUMENT DATE 8
0


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-2026 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.