How do I get a BOX with a check or X in it?

G

gjs

Above says it all. that simple. i honestly don't know how to do it. Just
want a box (within text) that has an X or check in it.
 
A

Allen Browne

If you can put this in a control on its own, you could use a label with its
FontName set to Wingdings. Then in the Caption property, hold down the Alt
key while typing 0254 on the numeric keypad.

If you want to mix this character with other text, you have the problem that
Access text boxes do not support rich text, i.e. you cannot have part of the
text in one font and part in another. If it is worth the effort, you could
consider using a rich text box such as this one:
http://www.lebans.com/richtext.htm
 
T

Tatakau

I don't know all the details of what you need exactly, but from what it
sounds, all you need is a checkbox in an access form. It is a form you're
working on, right?

Open a form in design view, and click on the Check Box tool in the toolbox.
If you cannot see the toolbox, right-click anywhere on the form and select
the 'Toolbox' option, or select it from the form design toolbar. The icon
looks like a hammer and a wrench crossed.

When you have the tool selected, left click and drag to create one on the
form. If you want to link it to a table column, right click on it and select
Properties. Under the All tab, set the Control Source to whatever you want
the check box to represent. Easiest way to do this is use the drop-down box
and pick one. I think you can only select true/false datatypes for the
checkbox.

If you want to reference the checkbox in code, it's rather simple:

if checkbox1 = true then
checkbox1 = false
else
....

I hope that's answers your question. I have a feeling I might have missed
the boat entirely though.

Nick
 
B

Brett Kinross

Hi
If you want to have a check box with a cross make it a text box instead of a
label. Then you can link the data source to a true/false field. Set the font
to wingdings and put the following as the format: ;\ü;\û
This should give you a tick for yes and a cross for no.

Cheers
Brett
 

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