级联组合/列表框 [英] Cascading combo/list boxes

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

问题描述

您好,我有一个组合框,可以提供列表框1,而列表框1依次提供另一个列表框2。当组合更改列表框1时,列表框2的值必须保留在列表框2中。列表框2的内容将存储在表格中。我想这是2部分问题:列表框2上是否有任何示例用作收集点,将列表框2的内容存储在表中有多难?谢谢你的帮助。

Hello, I have a combo box that feeds a list box1 which in turn feed another list box2. List box2 values need to remain in list box2 when list box1 has been change by the combo. The content of list box2 will be stored in a table. I guess this is 2 part question: Are there any examples out there on list box2 used as a collection point, and how hard would it be to store the contents of list box2 in a table? Thank you for your help.

推荐答案

让ListBox显示表的内容非常容易。
It is pretty easy to have a ListBox display the contents of a table.


你好RuralGuy,我正在尝试解决的是用户用来记录事件的Access表单。这需要收集和存储信息。在表单上,​​我有一个组合框,它从表中提供并更新列表框(1)。选中此框(1)中的信息并转到列表框(2)。反过来,它作为该事件的记录存储在单独的表中。我的问题是组合框中的每个项目在框(1)中显示一个单独的列表,我从中选择,需要在框(2)中收集。我不想放弃之前从方框(1)中选择的项目,因为我在框(2)中添加了这个。这是怎么实现的?
Hello RuralGuy, What I''m trying to resolve is an Access form that the user would use to record events. This requires information to be collected and stored. On the form I have 1 combo box that feeds off of a table and that updates a list box(1). The information from this box(1) is selected and goes to list box(2). This in turn, gets stored in a separate table as a record for that event. My problem is that each item in the combo box that brings up a separate list in box(1), that I select from, needs to be collected in box(2). I don''t want to loose the items previous selected from box(1), as I''m adding to this in box(2). How is this accomplish?


我不清楚你觉得你需要什么。如何将项目添加到Box(2)?
I''m not real clear what you feel you need. How are you adding the items to Box(2)?


这篇关于级联组合/列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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