组合框问题 [英] Combo box issue

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

问题描述

这是组合框背后的SQL(这样做可以看到名称)

展开 | 选择 | Wrap < span class =codeDivider> | 行号

解决方案

< blockquote>我认为你的问题是你有硬编码的问题。 WHERE子句。


应该读取类似

展开 | 选择 | Wrap | 行号


更改了每个建议的部分

展开 | 选择 | Wrap | 行号


SubAsmParts是子表单?


无论如何,WHERE子句应该引用主表单上的未绑定复选框,您设置为True或False以选择要在组合框中看到的记录。 />

查看我原来的帖子。对不起,如果不清楚的话。


Phil


This is the SQL behind the Combo Box (Did it this way so you can see the names)

Expand|Select|Wrap|Line Numbers

解决方案

I think your problem is that yo have "hard coded" the WHERE clause.

It should read something like

Expand|Select|Wrap|Line Numbers


Changed the where section per your suggestion

Expand|Select|Wrap|Line Numbers


Is SubAsmParts is a subform?

Anyway, the WHERE Clause should refer to an Unbound Checkbox on your main form which you set to True or False to select the records you want to see in your Combo Box.

See my original post. Sorry if it wasn''t clear.

Phil


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

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