Solved

Visual Basic (VBA) Auto-Complete (Intellisense) Problems in Access XP and 2003

Posted on 2006-06-28
7
819 Views
Last Modified: 2008-02-01
Hey everyone!
It feels strange asking a question like this here, but I haven't been able to find any helpful information on this quickly, so I'm hoping someone here will know...

I'm doing database development in Access 2003, and the Visual Basic portion of it is acting up.  It seems to be "refreshing" itself constantly.  Two very frustrating problems are occurring because of this: 1) Intellisense/auto-complete for properties and such pops up but immediately disappears and 2) it's automatically checking the syntax of lines before I can finish typing them.

Does anyone know what causes this?  On this particular computer, I first saw this problem with Access XP.  I hoped that it would go away when I upgraded to 2003, but it didn't.  I've also seen this problem on other computers, including my relatively new laptop, so I know it doesn't have anything to do with this computer specifically.  My hope is that there is a setting somewhere that will correct the issue.

All help is appreciated.  Thank you!
0
Comment
Question by:ctnovelist
7 Comments
 
LVL 8

Accepted Solution

by:
dds110 earned 125 total points
ID: 17001182
Yeah, I've been there.  When It happened to me, I had a form running in the background, or hidden, etc... with a timer event on it.  Don't know if this is your specific problem but I'd start looking there first.

Just my 2 cents.

dds
0
 
LVL 18

Expert Comment

by:Data-Man
ID: 17001532
I had this same problem and I concur with dds....it was a timer event on a hidden form....I learned to type faster.

Mike
0
 

Author Comment

by:ctnovelist
ID: 17001604
Hmmm, okay... I do have a hidden form with a Timer event, but when I open it in Design View and close it and then go back to the other forms, the VBA problem still occurs.  Is there a fix for this?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 8

Expert Comment

by:dds110
ID: 17001795
Compact and repair......Import all objects into a new database..........Reboot your computer while chanting something soothing and unintelligible............Keep all forms but the one your working on closed (if at all possible).

Other than that, I have no Idea.
0
 
LVL 26

Expert Comment

by:dannywareham
ID: 17002446
If you have code running - that's your guy (as suggested already)

A way to spot it is to have your VBA window open.
Can you see teh Play/pause/Stop buttons on your toolbar?
If the Play triangle is greyed out (or the stop button is available), then you have code running (if I remember rightly).
0
 

Author Comment

by:ctnovelist
ID: 17003322
Well, I've closed the hidden form and also closed a bunch of windows that were open in the VBA application.  At the moment, it's acting normal.

My guess is that it was one of or a combination of all the things you guys mentioned.  I'm pretty sure that hidden form was probably the catalyst of the whole thing, but it looks like I needed to close out everything else that was open (almost as if to "reset" VBA) in order for it to go back to the way it should be.

Thanks for the help!
0
 
LVL 8

Expert Comment

by:dds110
ID: 17003507
glad I (we) could help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now