如何让组合框仅显示选定的值? [英] How do I have a combo box only show selected values?

查看:83
本文介绍了如何让组合框仅显示选定的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用包含两个文本框和一个组合框的表单。我希望组合框仅显示在前面的文本框中输入两个单独值后可用的选项。我有组合框显示三列 - 两个是文本框值,另一个是未包含在文本框中的值。一旦我选择了我想要的那个,我就需要能够为我选择的值打印报告。

I am working with a form that contains two text boxes and a combo box. I want the combo box to only show you the options that are available to you after you enter two seperate values in the previous text boxes. I have the combo box showing three columns - two are the text box values and the other is a value that was not included in the text boxes. Once I select the one I want, I need to be able to print a report for the values I selected.

推荐答案

也许你发布了各个领域的内容我们可以理解你想要的是什么!?!?
Perhaps if you post what is in the various fields we can understand what it is you want!?!?


我有一个带有年份的文本框

我有一个文字框,带有Make

我有一个带有Model / Make / Year的组合框

我希望组合框只显示带有年份的车辆,并在文本框中选择。我还需要打印一份显示所选记录的报告。
I have a text box with Year
I have a text box with Make
I have a combo box with Model / Make / Year
I want the combo box to only show the vehicles with the year and make that were selected in the text boxes. I will also need to print a report showing the record that was selected.


这样更有帮助。

你能解释一下后面的数据吗?它是存储的。

它是一个链接到单个表(或可更新的记录集)的表单,其中包含所有这些字段的记录吗?

或者两个TextBox都必须是否可以从整个记录集中的数据组成?


这对了解您的需求非常有帮助。
That''s much more helpful.
Can you also explain how the data behind it is stored.
Is it a form linked to a single table (or updatable recordset) with records which all have all of those fields?
Or maybe the two TextBoxes must be made up from the data within the whole recordset?

This would be very helpful to understand what you need.


这篇关于如何让组合框仅显示选定的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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