开发者

Two Values in Dropdown

开发者 https://www.devze.com 2023-04-09 07:39 出处:网络
Access 2007. Is there a way to display two values in a combobox.I realize the combobox is bound to a field in a table, and it can only be bound to one field, but when yo开发者_StackOverflow社区u click

Access 2007. Is there a way to display two values in a combobox. I realize the combobox is bound to a field in a table, and it can only be bound to one field, but when yo开发者_StackOverflow社区u click the combobox I have it showing two field, then when you choose and release we would like to display both values. Is there anyway to do that. We don't want to add another text box just to show this additional field.

Thanks


All you can do without an additional textbox is set up your recordset to include two fields in the one:

 SELECT ID, Surname & ", " & Forename FROM Customers

ID is the bound field, so it does not much matter how many fields are concatenated in the display.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号