> Gotcha. But one thing about camel case is that you can't use the CTRL
> Left
[quoted text clipped - 23 lines]
>> >
>> > Phil.
> Ctrl+Left and Ctrl+Right don't work with underscores in the VBA editor
Really? I just went and opened my VBA editor (v6.3 ) in Access, and it worked
fine for me. Are we talking about the same editor?
> either (though they do in SQL view). And for most people, the underscore is
> a seldom-used (or at least 'less frequently used') character, and will slow
> down typing.
Yeah, it DOES slow you down a little. But I think it's worth it, when it comes
to easier navigation over words, and being easier to read.
> So there are pros and cons, for and against. As others have
> said, there's really no clear-cut right or wrong here.
[quoted text clipped - 6 lines]
> But if you're exposing those names to others it is better to avoid
> underscores. I'm inclined to agree with that.
Hmm. Interesting point.
> --
> Brendan Reynolds (MVP)
[quoted text clipped - 26 lines]
> >> >
> >> > Phil.
Brendan Reynolds - 29 Jun 2005 19:56 GMT
I enter the following into the VBA editor (Access 2003, VBA 6.3) ...
Dim using_underscore As String
I place the insertion point in front of the first 'u'. I hold down the
Control key and press the right arrow key. The insertion point jumps to just
in front of the 'A' in 'As', treating 'using_underscore' as one word.
I enter the following in SQL view ...
SELECT using_underscore
FROM tblTest;
I place the insertion point in front of the first 'u'. I hold down the
Control key and press the right arrow key. The insertion point jumps to a
position between the underscore character and the first 'u' in the word
'underscore', treating 'using' and 'underscore' as separate words, the same
behaviour that you would get if the underscore was a space.
Do you see different behaviour?

Signature
Brendan Reynolds (MVP)
>> Ctrl+Left and Ctrl+Right don't work with underscores in the VBA editor
>
[quoted text clipped - 58 lines]
>> >> >
>> >> > Phil.