When I create a checkbox it automatically gives it an unwanted name (2 Viewers)

Bobp3114

Member
Local time
Today, 13:42
Joined
Nov 11, 2020
Messages
88
When I create a checkbox it automatically gives it an unwanted name and I cannot find a way to rename it eg it creates Check150 I need to change it to say "chkConditionOne"
This behavior is not what usually happens and I am sure I must have changed some property inadvertently
I am unable to enter anything in the NAME property
Thanks
Bob
 
That's the default behaviour seen for any control created.
You should always rename a new control to something meaningful.
 
that is the default.
all controls that can receive focus are assigned starting from suffix 0, then goes even 2, 4, 6, etc.
 
Or Frm Design > Alt-Enter (Property Sheet) & pic'd. Good to use prefix same naming convention cboMyComboBoxName. I also like to rename txtBoxes with txt prefix to differentiate between the actual column names used as the data-source; just makes it clearer.

1772284178278.png
 
With a bound control Access will, by default, give a control the same name as the column to which it's bound when a control is added from a form's field list or by means of the form wizard. With an unbound control its Name property will default to the format you describe. Unbound controls should be renamed immediately on adding them to a form or report, and there is a lot to be said for changing a bound control's name, e.g. the Name property of a text box bound to a LastName column might be changed to txtLastName to distinguish it from the column when referenced in code or elsewhere.
 
I am unable to enter anything in the NAME property
Perhaps you have selected more than one control when trying to change the name?

Since you appear to have already tried the other suggestions, I think need to describe exactly what you are doing to create the control and then rename it. Perhaps you are not in design view for example
 
Import everything to a new empty DB.
Can you name it then?

Failing that, hide any private data and upload it here.
You can use this for that.
 
This is what I get when I create a check box in one database
1772323575767.png

This is what i am getting in the current database
1772323688933.png

I cannot enter anything into the "NAME" area to change the name????
 
You cans size the columns and size the whole window. So it looks that you did is the following
1. Normal window
i1.jpg

2. You can expand the columns. So the label of the property is bigger.
I2.jpg

3. Now you can slid the whole properties window to the right and you lose ability to see the second column with property values
i3.jpg
 
Thanks MajP,
I feel like a fool looking for a difficult answer and I was not seeing the obvious.
lesson learnt
Bob
 

Users who are viewing this thread

Back
Top Bottom