Mysterious field background colour change in Access 2007

Posted on 2011-03-04
Medium Priority
Last Modified: 2012-05-11

     thisForm.Detail.BackColor = <whatever RGB trio>

I change the background (detail) colour of a form. That works. In some cases, however, some of the individual fields' background colour also changes to the same as the detail area of the form. These fields' background is not transparent, before you ask... And it only happens sometimes!

Any possible explanation?

Many thanks.
Question by:Peborgh
LVL 86
ID: 35035307

1) Troubles with the database - Compact and repair the db. If that doesn't resolve it, move everything into a new, blank database

2) Troubles with Access/Office - are you fully updated? If not, try that. If you are, perhaps a repair or reinstall.

3) Troubles with Windows - are you fully updated? If you are, then it might be time to do some checking on that

4) Troubles with your video driver or card - are you sure the driver is fully up to date? There have been some odd reports of video troubles in Office with some higher end graphics cards. My own setup, which uses a very high end graphics card, sometimes does odd things while I'm working in Access (colors seem to modify themselves slightly, from a Red to a bit less deep red, for example).

If you move the db to a new machine and run it there, do the troubles follow the database? If they do, then you'd suspect troubles with the db. If they do not, then you'd suspect 2, 3 or 4.

Accepted Solution

McOz earned 2000 total points
ID: 35036263

Author Comment

ID: 35043901
McOz, I set the alternate back colour of the detail of the form to black and bingo, problem went away...

Many thanks,


Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
A Case Study of using the Windows API to provide RS232 communications capability in Access without the use of Active-X controls.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

624 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