Hello all,
Using Crystal XI and Oracle ODBC.
I'm trying to extract the first 4 or 5 digits from a field and declare it as the field "OBJECT" in the SELECT statement. The contents of "FIELD_A" is as followed:
S510#CCBB
S1313#BTCC
14444#SQQQ
7980#TUVV
The result that I'm looking for:
S510
S1313
14444
7980
I tried using CHARINDEX and LEN but Crystal won't accept it. Any help is appreciated.
Thanks!
Using Crystal XI and Oracle ODBC.
I'm trying to extract the first 4 or 5 digits from a field and declare it as the field "OBJECT" in the SELECT statement. The contents of "FIELD_A" is as followed:
S510#CCBB
S1313#BTCC
14444#SQQQ
7980#TUVV
The result that I'm looking for:
S510
S1313
14444
7980
I tried using CHARINDEX and LEN but Crystal won't accept it. Any help is appreciated.
Thanks!