访问:在文本框中显示隐藏的组合框列 [英] Access: Display hidden combobox column in textbox

查看:77
本文介绍了访问:在文本框中显示隐藏的组合框列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带记录源的组合框,其中有4列,但只显示第二列(Column Widths: 0";1";0";0").我正在尝试使用控件的Source属性显示在文本框中选择的第三列值.

I have a combobox with a record source that brings 4 columns, but only shows the second column (Column Widths: 0";1";0";0"). I am trying to display the third column value selected in a text box, using the it's control Source property.

推荐答案

组合的Column属性使用从零开始的索引号,因此第三列是Column(2).

A combo's Column property uses zero-based index numbers, so the third column is Column(2).

将文本框的控件来源"属性设置为...

Set the text box's Control Source property to ...

=[YourComboName].[Column](2)

这篇关于访问:在文本框中显示隐藏的组合框列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆