F
Fred Boer
Hello!
I have the following code:
If Me.cboMediaFormat = 3 Or Me.cboMediaFormat = 4 Or Me.cboMediaFormat = 7
Or Me.cboMediaFormat = 8 Then
msgbox "This is not the correct report for this type of media.
Please choose one of the talking book reports.", vbOKOnly + vbInformation,
"W. Ross Macdonald School Library "
Else
Call fncPrintBarcodeAndSpine
End If
I have to create another If/Then, which checks for 8 possible values of the
combobox. Is there a better way to do this? Am I missing something simple?
I.e. something like "If Me.cboMediaFormat In(1,2,5,6,9,10,11,12) Then..."
Thanks!
Fred Boer
I have the following code:
If Me.cboMediaFormat = 3 Or Me.cboMediaFormat = 4 Or Me.cboMediaFormat = 7
Or Me.cboMediaFormat = 8 Then
msgbox "This is not the correct report for this type of media.
Please choose one of the talking book reports.", vbOKOnly + vbInformation,
"W. Ross Macdonald School Library "
Else
Call fncPrintBarcodeAndSpine
End If
I have to create another If/Then, which checks for 8 possible values of the
combobox. Is there a better way to do this? Am I missing something simple?
I.e. something like "If Me.cboMediaFormat In(1,2,5,6,9,10,11,12) Then..."
Thanks!
Fred Boer