Boolean question

G

Gary Nelson

In Access2000 frontend, SQL Server (backend), I have a stored procedure that
I am attempting to add a field to. Here's the scoop.

I have a report that I have been asked to show a "B" for any items that
require a barcode. The data that is currently in the field is True or
False - a Boolean. Rather than showing a True or False, I want to show just
the letter "B". Please see the code below that I have written.

'BarCode'=
CASE
WHEN dbo.BookAll.AdhereBarCodeCvr= 1Then 'B'
END,

'Drilling'=
CASE
WHEN dbo.BookAll.HoleDrilling = 1Then 'D'
END,

'Shrinkwraps'=
CASE
WHEN dbo.BookAll.Shrinkwrap = 1Then 'S'
END,

Now, my dilemma is that the Drilling and Shrinkwrap code work, but the
barcode does not. ANy ideas what I am doing wrong and how to correct it?

Thanks for your help, and Merry Christmas!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top