Skip to Content
0
Former Member
Sep 21, 2007 at 11:50 AM

Find if a char field contains non numeric values or vice-versa.

273 Views

Good Morning,

I have a field defined as:

data: x_swenr type swenr.

swenr being a char(8).

The field x_swenr can contain non numeric values (alfanumeric).

What i need is a function or piece of code that can tell me if this field contains only numeric values, or both (alfanumeric and numeric).

Regards,

Pedro Gaspar