进入2007年VBA:从另一个列表框中建设有选择的选择列表框 [英] Access 2007 VBA : Building a listbox with selection choices from another list box

查看:179
本文介绍了进入2007年VBA:从另一个列表框中建设有选择的选择列表框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此​​,有8个类别可被关联到每个顺序,但不一定全部。所以,我要建立一个列表框,允许用户双击每个他们希望相关联的类别,当他们有一个订单详细信息的形式打开了(未绑定的形式,已经隐藏文本框与所有需要的ID号)。

So there are 8 categories that may be associated to each order, but not necessarily all of them. So i was going to build a list box that allowed the user to double click each of the category they wish to associate when they have an "Order Detail" form opened up (unbound form that has hidden text boxes with all needed ID numbers).

我希望有另一个空文本框旁边它,让我追加选择(最多8个),使用户可以看到他们已添加。

I want to have another empty text box right beside it that will allow me to append the selections (up to 8) so the user can see that they have been added.

所以,一个列表框,默认的选择,当选择的是双击时,它补充说,选择第二个列表框中看到理货可以这么说。

So one list box with the default choices, and when a choice is double clicked, it adds that choice to the second list box to see the tally so to speak.

什么是VB获取这样的事情呢?

What is the VB for getting something like this done?

谢谢 贾斯汀

推荐答案

我建议你真难为你自己。创建具有订单详细信息表和组合框,允许用户选择不同类别的子窗体。

I suggest that you are making life difficult for yourself. Create a subform with the Order Detail table and a combobox that allows the user to select the various categories.

这篇关于进入2007年VBA:从另一个列表框中建设有选择的选择列表框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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