In an Access 2007 form I have a combo box based on a table with 2 fields.
Although I have the Column Count set to 2 and column width for both,
only the bound column displays when the cbo is closed. Only when I
open the cbo does the other column display.
Is this by design?
Thanks,
James
Yes: the combo is designed to show only one column when not dropped down.
One alternative is to place a text box alongside the combo, and set its
Control Source to:
=[Combo1].Column(1)
The first column is zero, so Column(1) shows the 2nd column of Combo1.
Another alternative is to concatenate the values from 2 fields together.
This example shows the Surname and FirstName without dropping the combo
down:
RowSource:
SELECT ClientID, Surname & ", " + FirstName AS ClientName
FROM tblClient
ORDER BY Surname, FirstName;
Column Count 2
Column Widths 0

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> In an Access 2007 form I have a combo box based on a table with 2 fields.
> Although I have the Column Count set to 2 and column width for both,
[quoted text clipped - 4 lines]
> Thanks,
> James