Form flickering

Catalina

Registered User.
Local time
Today, 14:56
Joined
Feb 9, 2005
Messages
471
I'm using Access 2003 + SP3 and Windows XP SP3

I have a form in which I use JPG images as command buttons and a few other graphical elements for looks.

When I navigate (first, previous, next and last record) these elements flicker.
I use custom navigation and it makes no difference whether I use standard Access command buttons for this, JPG images or text labels.
But when I use the standard form navigation instead of my own buttons there is no problem.

The weirdest thing is that I have 3 almost identical forms (just different data sources) and only 1 has this problem.
I even built a new one from scratch and that one still has the same problem.

I have read about the problem that unattached labels may cause, even after removing these the problem persists.

Any ideas about what could cause this?
All suggestions will be appreciated.
 
unattached labels on a tab control cause a flickering effect when the mouse moves over them. is that what is happening?
 
No, I'm not using a tab control.

The effect only occurs when I navigate through the records.
I also tried echo off, that doesn't help either.
 
ok

instead it might be that your form is complex, and not working so quickly. therefore as you move to each nre record, the form refresh takes slightly longer to complete, and appears as "flickering"

do you have code in your form current event - or a lot of dlookups/formulas in your form controls. That might slow it down.
 
I thought about that too.
So removed all code, except for the the part necessary for the navigation, still no result.

I do have 5 sub forms ( only 1 visible at the time), could that be a factor?
And what I don't understand is that only 1 form has this problem the other ones are fine.

And like I said, when I use the standard form navigation the problem is gone.
 
I just had a chance to check it in Access 2010, same problem.

Catalina
 
Maybe it is one of your subforms. Take a trial and error approach by removing one sub form at a time and see if you can identify which one is causing the problem.
 
Thanks. I removed all sub forms, no result.

I also removed all graphical elements, made a new form, imported it in a new database, checked to see if there is any unusual code, but nothing solves the problem.

I just keep digging though.
 
The problem has been resolved.

Here is the culprit: Me.AllowAdditions = False
Removed it and now it works just fine.

Makes you wonder why I didn't see that before, it could have
saved me so much time and trouble.
Oh well, learned another lesson.

Thanks to everything who replied.

Catalina
 

Users who are viewing this thread

Back
Top Bottom