Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autocorrect - How to kill this monster.

Status
Not open for further replies.

raskew

Programmer
Oct 18, 2000
488
On any posting I've made where code is included, you'll see something like:
Code:
Dim db As DATABASE

...'Database' is going to be 'DATABASE' regardless of what I do (short of modifying the code once it's in the forum editor). Not really an earth-shattering problem, but it's been an annoyance for years (I'm not a fan of all-Caps--I'm gonna scream at you-- in any situation) and just can't seem to track down the cause. 'Database' is the only word aflicted with the all-caps disease.

Have gyrated over every possible AutoCorrect setting I can find. All insight greatfully accepted.

Thanks,

Bob
 
Testing . . .

Code:
[blue]   Dim db As Database[/blue]

Code:
   Dim db As Database

Database
database


Calvin.gif
See Ya! . . . . . .
 
Ace -

Sorry. Maybe I didn't explain it well enough:

I input "Dim db as Database"

...it comes back in the module as:

"Dim db as DATABASE"

...that's the problem.

If I attempt to edit the procedure, changing

"Dim db as DATABASE" to

"Dim db as DataBase"

it responds with

"Dim db as DATABASE"

... that's the problem I'm trying to overcome.

Bob
 
raskew . . . .

Nooo . . . my fault . . . sometimes I wonder if I have an eye to see with! ;-)

[ol][li]What Version Access.[/li]
[Li]Does it happen in any module?[/li]
[li]How about a module in another DB.?[/li][/ol]

Calvin.gif
See Ya! . . . . . .
 
Heh, seen this one before. See this thread: thread705-652659

But the quick and dirty solution is to declare a variable named "Database" - then recompile, save, then remove the declaration, recompile and save again. That should get things back to normal.

Ken S.
 
Eupher / Aceman1:

Using A97. This condition exists across the board. With absolutely no effort on my part, have been able to infect other computers with the same problem. We're not talking about 'a database' -- it's more on the magnitude of 'several hundred databases'.

Eupher - Don't pretend to understand why the recompile / save solution works, but it indeed appears to have solved the problem. Your solution is a definite keeper!

Many thanks!!

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top