M
mbc04
I am running a query that counts all Adult and Juvenile audio book
cassettes. I have call numbers like BOOK CAS J GANTOS (which is a
juvenile cassette) and BOOK CAS F SMITH (which would be an adult
cassette). The J or the F is the important thing here to determine
whether the item is Adult or Juvenile. Some juvenile cassettes also
start with Z (that part works fine). Here is part of the module I've
used for this.
Case "Audio Book Cassette"
If StartofCall Like "Z??" Then
SubGroup = "JCAS"
ElseIf StartofCall Like "BOOK CAS J*" Then
SubGroup = "JCAS"
Else
SubGroup = "ACAS"
End If
It seems to not be recognizing the spaces between the letters and is
counting everything as ACAS. If I use somthing like this
ElseIf StartofCall Like "BOO*" Then
SubGroup = "JCAS", then it will return it as JCAS.
Unfortunately, it also counts the Adult cassettes as Juvenile as well.
What can I do
cassettes. I have call numbers like BOOK CAS J GANTOS (which is a
juvenile cassette) and BOOK CAS F SMITH (which would be an adult
cassette). The J or the F is the important thing here to determine
whether the item is Adult or Juvenile. Some juvenile cassettes also
start with Z (that part works fine). Here is part of the module I've
used for this.
Case "Audio Book Cassette"
If StartofCall Like "Z??" Then
SubGroup = "JCAS"
ElseIf StartofCall Like "BOOK CAS J*" Then
SubGroup = "JCAS"
Else
SubGroup = "ACAS"
End If
It seems to not be recognizing the spaces between the letters and is
counting everything as ACAS. If I use somthing like this
ElseIf StartofCall Like "BOO*" Then
SubGroup = "JCAS", then it will return it as JCAS.
Unfortunately, it also counts the Adult cassettes as Juvenile as well.
What can I do