M
mbc04
I have a field, OCLC NO, that contains info in various formats and
various lengths. I want to extract only the part that comes after ocm.
These are the 3 types of information contained in this field:
(DLC)97048845
(OCoLC)ocm36214720
ocm23769753
My query contains this formula: OCLC: Right([OCLC NO],InStr([OCLC
NO],"ocm"))
These are the results I get:
blank (this is what I want because ocm is not contained anywhere in
the first example)
36214720 (this is correctly giving me everything after ocm)
3 (this is only giving me the last digit; why?)
My results are consistent; every one looks fine except those fields
that contain just ocm and a number.
various lengths. I want to extract only the part that comes after ocm.
These are the 3 types of information contained in this field:
(DLC)97048845
(OCoLC)ocm36214720
ocm23769753
My query contains this formula: OCLC: Right([OCLC NO],InStr([OCLC
NO],"ocm"))
These are the results I get:
blank (this is what I want because ocm is not contained anywhere in
the first example)
36214720 (this is correctly giving me everything after ocm)
3 (this is only giving me the last digit; why?)
My results are consistent; every one looks fine except those fields
that contain just ocm and a number.