选择“全部”在一个组合框中 [英] Selecting "All" in a combobox
本文介绍了选择“全部”在一个组合框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
伙计,
需要帮助让我的代码工作。我想选择全部在组合框中用于访问中的查询。
请参阅我添加到行源的sql代码:
展开 | 选择 | Wrap | 行号
解决方案
这个SQL假设绑定列是2(MemberId - 主键),它是一个示例但你可以根据需要调整它
展开 | 选择 | Wrap | 行号
你好Chris。
看来你的问题是您的GROUP BY
和ORDER BY
子句,超出UNION
部分记住,使用仅限于UNION
一侧的表达式。
尝试使用:
展开 | 选择 | Wrap | 行号
Gents,
感谢您的反馈......很遗憾没有工作?
是否还有其他可以发布的细节可能有帮助你发现我的错误了吗?
谢谢
Folks,
Need help getting my code to work. I am trying to select "All" in a combobox for a query in access.
See my sql code I added to the Row Source:
Expand|Select|Wrap|Line Numbers解决方案This SQL assumes the bound column is 2 (MemberId - Primary Key), It is a sample but you can adjust it as required
Expand|Select|Wrap|Line Numbers
Hi Chris.
It seems your problem is that yourGROUP BY
andORDER BY
clauses, that are outside of theUNION
part remember, use expressions qualified to only one side of theUNION
.
Try using :
Expand|Select|Wrap|Line Numbers
Gents,
Thanks for the feedback... unfortunately neither worked?
Is there any other details I can post that might help you find my mistake?
Thanks
这篇关于选择“全部”在一个组合框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆