A
atlinc
I built a simple form in Access 2K. It has a textbox, listbox and two
command buttons. I went to the properties window/other tab and named my
controls. I opened the Visual Basic editor and went to the drop down
list of controls and all of the controls were still named with the name
Access gave them when they were created. For example the first command
button I created was given the name Command4 and I named it cmdAdd but
in the VBE dropdown list it is still named Command4. This has happened
to me before and I believe I got it to recognize my names by going to
Debug/Compile, but it isn't working this time.
Can anyone tell me why this sometimes happens and sometimes not when I
create a form? And what can I do to get the VBE to recognize the names
I have assigned? BTW the control names I assigned are not the same as
the names of any fields in the database, nor are they reserved words.
command buttons. I went to the properties window/other tab and named my
controls. I opened the Visual Basic editor and went to the drop down
list of controls and all of the controls were still named with the name
Access gave them when they were created. For example the first command
button I created was given the name Command4 and I named it cmdAdd but
in the VBE dropdown list it is still named Command4. This has happened
to me before and I believe I got it to recognize my names by going to
Debug/Compile, but it isn't working this time.
Can anyone tell me why this sometimes happens and sometimes not when I
create a form? And what can I do to get the VBE to recognize the names
I have assigned? BTW the control names I assigned are not the same as
the names of any fields in the database, nor are they reserved words.