Since changing over to Access 2007 I’m having a problem with the fore and back colors in my Combo Box drop-down lists changing. The fore color and back color both change to black. It happens on many events – after update, on lost focus, on got focus etc. The problem seems to be only with databases I’ve created in Access 2007. It does not seem to happen with databases I’ve created in Access 2000.
I’ve looked at the properties of the combo boxes and even though the back color is set to #FFFFFF (white) and the fore color is set to #000000 (black) it still happens. I’ve tried using VBA code to spell out these properties on various event procedures - going into the combo boxes, exiting the combo boxes, all to no avail.
80% of the time the combo boxes will do this. 20% of the time they will behave. There just seems to be no rhyme or reason to it.
Observation: If I use the wizard to establish the drop-down choices I don’t seem to have this problem (at least I don’t think so). I prefer to use look-up tables for the drop-down choices. This is where I have problems.
It is so frustrating I have begun to put all my fields in the Form’s header rather than in the detail section. This fixes the problem, although I’m not sure what consequences I’ll experience by doing this, or why this fixes the problem. I’ve even looked at the Form’s detail section properties and don’t see anything unusual.
Could anyone shed some light on this? I’m about ready to use a hammer. I would be grateful for any suggestion(s).
I’ve looked at the properties of the combo boxes and even though the back color is set to #FFFFFF (white) and the fore color is set to #000000 (black) it still happens. I’ve tried using VBA code to spell out these properties on various event procedures - going into the combo boxes, exiting the combo boxes, all to no avail.
80% of the time the combo boxes will do this. 20% of the time they will behave. There just seems to be no rhyme or reason to it.
Observation: If I use the wizard to establish the drop-down choices I don’t seem to have this problem (at least I don’t think so). I prefer to use look-up tables for the drop-down choices. This is where I have problems.
It is so frustrating I have begun to put all my fields in the Form’s header rather than in the detail section. This fixes the problem, although I’m not sure what consequences I’ll experience by doing this, or why this fixes the problem. I’ve even looked at the Form’s detail section properties and don’t see anything unusual.
Could anyone shed some light on this? I’m about ready to use a hammer. I would be grateful for any suggestion(s).