M
mibc
OCLC: Right([Bibs without items]![OCLC NO],InStr([Bibs without items]!
[OCLC NO],"ocm"))
I want only the numbers that come after ocm in the OCLC NO field to be
returned in a new field called OCLC. The number is not always the same
length. It seems to work perfectly on the last two examples but only
returns the last digit on the first two examples.
BIB_ID Title OCLC NO
ISBN OCLC
207002 Whales / ocm18223778 9780690047
8
72171 Dog / ocm23253000 9780679814 0
276478 Cougars / (OCoLC)ocm48620192
9780736813 48620192
253703 Dogs and wild Dogs / (OCoLC)ocm52305894 9780792282 52305894
I tried changing the last part to InStr([Bibs without items]![OCLC
NO],"m")) and that gave me two more digits to the left (778, 000,
cm48620192, cm52305894). What am I doing wrong?
[OCLC NO],"ocm"))
I want only the numbers that come after ocm in the OCLC NO field to be
returned in a new field called OCLC. The number is not always the same
length. It seems to work perfectly on the last two examples but only
returns the last digit on the first two examples.
BIB_ID Title OCLC NO
ISBN OCLC
207002 Whales / ocm18223778 9780690047
8
72171 Dog / ocm23253000 9780679814 0
276478 Cougars / (OCoLC)ocm48620192
9780736813 48620192
253703 Dogs and wild Dogs / (OCoLC)ocm52305894 9780792282 52305894
I tried changing the last part to InStr([Bibs without items]![OCLC
NO],"m")) and that gave me two more digits to the left (778, 000,
cm48620192, cm52305894). What am I doing wrong?