S
Stephen K. Young
I just installed the new Service Pack 3 for Office 2003.
This has caused a strange display problem in Access 2003 with combo boxes on
tables that have a formatted text field.
To see this problem, create a table named TableX with a single key field
FieldX that is a text field. (Use any table name or field name you like.)
Add a few rows of data, such as a, b, c.
Create a simple test form with a combo box that has SQL such as "Select
FieldX From TableX". Save the form. The combo box dropdown displays just
fine and you can select values.
Now go to design view on TableX and change the format property of FieldX to
have any format, such as &[Blue]. (This particular format displays the
FieldX
in a blue color, which I use to indicate key fields during development, and
it
propagates to queries. But any format seems to cause the problem.
The users, of course, always view data in forms.)
Suddenly the combo box on the test form is completely blank. The combo box
does have data (for example, from the Immediate Window,
?Screen.ActiveControl.ListCount has the correct value of 3),
but the display is all blank and you cannot actually see any of the dropdown
rows.
It does not matter what format is applied to FieldX, or whether the form
combo
box has formatting or not, the combo dropdown is blank.
The formatting on FieldX should have nothing to do with the combo box
display.
But for some reason, the field format interferes with the combo box display.
Prior to Service Pack 3, this was never an issue. (Nor was it ever an issue
in
prior versions of Access.) Am I missing something? Any suggestions for a
work-around?
- Steve Young
This has caused a strange display problem in Access 2003 with combo boxes on
tables that have a formatted text field.
To see this problem, create a table named TableX with a single key field
FieldX that is a text field. (Use any table name or field name you like.)
Add a few rows of data, such as a, b, c.
Create a simple test form with a combo box that has SQL such as "Select
FieldX From TableX". Save the form. The combo box dropdown displays just
fine and you can select values.
Now go to design view on TableX and change the format property of FieldX to
have any format, such as &[Blue]. (This particular format displays the
FieldX
in a blue color, which I use to indicate key fields during development, and
it
propagates to queries. But any format seems to cause the problem.
The users, of course, always view data in forms.)
Suddenly the combo box on the test form is completely blank. The combo box
does have data (for example, from the Immediate Window,
?Screen.ActiveControl.ListCount has the correct value of 3),
but the display is all blank and you cannot actually see any of the dropdown
rows.
It does not matter what format is applied to FieldX, or whether the form
combo
box has formatting or not, the combo dropdown is blank.
The formatting on FieldX should have nothing to do with the combo box
display.
But for some reason, the field format interferes with the combo box display.
Prior to Service Pack 3, this was never an issue. (Nor was it ever an issue
in
prior versions of Access.) Am I missing something? Any suggestions for a
work-around?
- Steve Young