组合框 - 级联文件夹 [英] Combo Boxes - Cascading Folders

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

问题描述

嗨我在表格上有两个组合框:

1-邻居

2-发票


在附近组合框我在特定驱动器上的文件夹名称中读取(所以无论文件夹名称是什么,在组合框中都会出现:\ Construction)。


我想要的是什么能够做的是通过选择第一个组合框中的一个邻域,第二个仅显示所选邻域内的所有内容(所以基本上显示所选邻域文件夹中的子文件夹名称。例如,如果我选择Laurier Heights作为邻域我希望Invoice Combo框显示该文件夹中的内容。

我使用以下代码填充文件夹名称的组合框:

展开 | 选择 | Wrap | 行号

解决方案

尝试查看级联表单过滤

您好我读了那篇文章,但我不确定我是否能理解如何将其与驱动器上的文件夹/文件名过滤相关联并在组合框中使用它们。你能告诉我这是怎么做的吗?

谢谢。


您是否使用过示例数据库?我真的不确定我还能说些什么。你没有说明你感到困惑的地方和信息在我看来的全部内容。如果您可以指定特定的难度,我可以帮忙。


Hi I have two Combo boxes on a form:
1- Neighbourhood
2- Invoice

in the neighbourhood combo box I read in folder names on a particular drive(so whatever is the folder names are say on X:\Construction appear in the combo box).

what I want to be able to do is by selecting one of the neighbourhoods in the first combo box have the 2nd one show only whats inside the selected neighbourhood(so to essentially show the subfolder names within the selected neighbourhood folder. For example if I select Laurier Heights as the neighbourhood I want the Invoice Combo box to show whats inside that folder.
I have used the following code for filling up a combo box with folder names:

Expand|Select|Wrap|Line Numbers

解决方案

Try looking at Cascaded Form Filtering.


Hi I read that article but I''m not sure if I could understand how to relate that with filtering folder/file names on a Drive and using them in a combo box. Can you tell me how thats done?
Thanks.


Did you play around with the example database? I''m really not sure what more I can say. You give no indication of where you''re confused and the info''s all there it seems to me. If you can specify a particular difficulty maybe I could help.


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

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