Syntax Check As You Type

J

Jill Lockwood

I have an Access 97 Database with a few forms and VBA
code. Recently, in this one database only, when editing
code the syntax check seems to happen as I type, instead
of when I leave the line. E.g. I might try to type
dim<space>var but if I don't type the v of var quickly
enough the space is deleted. It will also highlight the
incomplete line in red as though the syntax is incorrect,
which it is because it is incomplete, but it doesn't
normally do that until it thinks you're finished the line
because you've used the <Enter> key or clicked somewhere
else etc.

In Tools>Options>Module for all my databases the Auto
Syntax Check is switched on, but I don't think that can be
it because 1) switching it off on this database doesn't
resolve the problem, and 2) it's on for all the others and
they are all fine.

Does anybody have any ideas?

Thanks
 
T

Tim Ferguson

I might try to type
dim<space>var but if I don't type the v of var quickly
enough the space is deleted.

As Greg was saying: close the open form (even if it is hidden) that has an
active Timer on it.

Tim F
 
J

Jill Lockwood

Worked a treat.
Thanks
-----Original Message-----


As Greg was saying: close the open form (even if it is hidden) that has an
active Timer on it.

Tim F

.
 

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