I am using Crystal Reprt 6.0 and I connect to the data with ODBC. There is a description column of varying length that I need to extract. I need the string to the right of the comma that is in the string.
Eg. BALL VALVE, VBA0151-RF
I need to extract VBA0151-RF and place it in another column.
This is just one example, the other strings are different.
If anyone has any ideas, could you please let me know. I tried using the Mid function, but I couldn't get it to work.
This is what my SQL statement looks like:
SELECT
VALVFL.`LONG_DESCR`
FROM
`VALVFL` VALVFL
WHERE
Mid("{VALVFL.`LONG_DESCR`}", 18)
Thank you
Eg. BALL VALVE, VBA0151-RF
I need to extract VBA0151-RF and place it in another column.
This is just one example, the other strings are different.
If anyone has any ideas, could you please let me know. I tried using the Mid function, but I couldn't get it to work.
This is what my SQL statement looks like:
SELECT
VALVFL.`LONG_DESCR`
FROM
`VALVFL` VALVFL
WHERE
Mid("{VALVFL.`LONG_DESCR`}", 18)
Thank you