Check box problems

S

Shell

In Access 2000, I am trying to set the value (True or false) to a check box
in code.

me.chkDeptManager=True

I get the message "You can't assign a value to this object"

Also, If I bypass the code, I can manually check the box so a check mark is
there, BUT it won't uncheck manually.

So I guess I got two problems. Any help would be appreciated.

Thanks
 
E

Evi

Is the Checkbox based on a field in your table?
Is this code in a form or in a report?

What is the full code?
Evi
 
S

Shell

The checkbox is NOT based on a field in a table. (I do not use bound forms)
The code is in a form
 
S

Shell

Thanks to everyone who was looking at this.

I found my problem. the control was sitting on a frame. I changed the
frame to a box and everything now works as expected.
 

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