MS Access Add a Boolean type Column

hi
i am Adding a boolean type Columng to Access Table.  But after executing below mentioned code, in design instead of Check Box, 0 will appear.  Is there any way to set Lookp to check Box.

strInsert = "ALTER TABLE UnitRecurCharges ADD COLUMN urc_bln_InsCancelDayEnd Bit "
db.Execute strInsert
hoysalaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

clarkscottCommented:
You will add the checkbox to a form and bind the box to the field.  Checkbox is a method of displaying the data - not saving it.

Scott C.
hoysalaAuthor Commented:
hi Scott

i don't wan't check box on Form. instead in the Table

Rajeeva.G
onemorecokeCommented:
Use this:

strInsert = "ALTER TABLE UnitRecurCharges ADD COLUMN urc_bln_InsCancelDayEnd YESNO "
db.Execute strInsert

Good luck

onemorecoke
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

hoysalaAuthor Commented:
No This also doesn't works. It will  put Yes, Instead of 0.   Also the under Look up Display Control shows Text box only.  Is there any way so that we can change Display control to Check Box insetad of Text Box.
onemorecokeCommented:
In design view for the table, what is the field type?

onemorecoke

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hoysalaAuthor Commented:
In Design Field Type will be Yes/No. But format will be blank and under Look up Display Control will be Text
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.