Solved

Mysterious field background colour change in Access 2007

Posted on 2011-03-04
3
349 Views
Last Modified: 2012-05-11
Using:

     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.
0
Comment
Question by:Peborgh
3 Comments
 
LVL 84
ID: 35035307
Either:

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.
0
 
LVL 9

Accepted Solution

by:
McOz earned 500 total points
ID: 35036263
0
 

Author Comment

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

Many thanks,

peter
0

Featured Post

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.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

786 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