"you cancelled the previous operation" while typing code

A

aft3rgl0w

hey everyone, I have a weird one.... I have a form used to create shipping
reports. I am adding a button so I can retrieve relevant records from a temp
table. What happens is, when I start typing code for the button's click
event, if i hit <space> or other certain keys Like ( or ), i get a popup msg
saying "You cancelled the previous operation". Then I start getting "module
not found" errors when running code. after some closer examination, it seems
to be doing it for all coding. any idea what's going on here? it's becoming
very frustrating
 
A

Allen Browne

Suggestions:

1. Make sure you don't have any forms or reports open in any view except
design view when you modify your code.

2. Temporarily disable any Timer event that's running.

3. Choose Compile on the Debug menu.
Fix any errors, and report until it compiles without error.

4. Check for invalid references:
http://allenbrowne.com/ser-38.html

5. Make sure you don't have any modules that use the same name as a
procedure. For example, don't name a module Year because there is a Year()
function.
 
T

Tom van Stiphout

On Fri, 17 Oct 2008 05:31:01 -0700, aft3rgl0w

Maybe you are ticking a timer somewhere in the background? Shift-load
the application and go straight to a code window.

-Tom.
Microsoft Access MVP
 

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