选择组合框值后填充文本框 [英] populate textbox after selecting combobox value

查看:69
本文介绍了选择组合框值后填充文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我有一个简单的访问表,标有(部分号码)和(目标)。

我设计的形式
我有一个链接到这个表的组合框,我也有一个文本框的形式,我想要实现的是在组合框中选择一个部件时自动将目标图形放在文本框中。


任何人都可以帮助我,说得直白我没用! !


欢呼

解决方案


hi!


i有一个简单的访问表,标有(部分号码)和列的列。 (目标)。

我设计的形式
我有一个链接到这个表的组合框,我也有一个文本框的形式,我想要实现的是在组合框中选择一个部件时自动将目标图形放在文本框中。


任何人都可以帮助我,说得直白我没用! !


欢呼



组合框的名称和行源是什么?


< blockquote>你可能不需要单独的控件(TextBox)。

ComboBox可以显示一个字段,同时具有另一个字段的值。

你到底想要达到什么目的?



嗨!


我正在尝试实现是在组合框中选择一个部件时自动将目标图形放在文本框中。


欢呼



当你说图...做你的意思是形象?


hi!

i have a simple table in access with columns labelled (part numbers) & (targets).

in the form i have designed i have a combo box linked to this table and i also have a text box in the form as well, what i am trying to achieve is when a part is selected in the combo box is automatically puts the target figure in the text box.

can anybody help me as well, to put it bluntly i''m useless!!

cheers

解决方案

hi!

i have a simple table in access with columns labelled (part numbers) & (targets).

in the form i have designed i have a combo box linked to this table and i also have a text box in the form as well, what i am trying to achieve is when a part is selected in the combo box is automatically puts the target figure in the text box.

can anybody help me as well, to put it bluntly i''m useless!!

cheers

What is the name and row source of the combobox?


You may not need a separate control (the TextBox) for this.
A ComboBox can display one field while, at the same time, have a value of another.
What exactly are you trying to achieve?


hi!

what i am trying to achieve is when a part is selected in the combo box is automatically puts the target figure in the text box.

cheers

When you say Figure...do you mean image?


这篇关于选择组合框值后填充文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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