使用组合框从表单中过滤报表 [英] Using Combo Box to filter report from a form

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

问题描述

我想根据组合框的值过滤报告中的记录,如果有人选择学校代码(XXXXX)并单击生成报告按钮,则报告将仅显示XXXXX学校的记录。 br />
我附上了报告菜单的截图,如果这有助于解决我的问题。

谢谢



附加图像 < td>
MenuView.jpg (66.2 KB,1290次查看)

解决方案

OpenReport的第四个参数让你设置一个位置过滤y的子句我们的报告。


感谢兔子,但这并不是怎么回事。来自查询或其他。你能提供更多细节吗?

谢谢


斯多葛派,

展开 | 选择 | Wrap | 行号

I would like to filter records in a report based on the value of the Combo Box in which if someone selects a school code (XXXXX) and click the generate report button, then the report will only show records for XXXXX school.
I have attached a screenshot of my report menu, if that will help in addressing my concern.
Thanks

Attached Images
MenuView.jpg (66.2 KB, 1290 views)

解决方案

The OpenReport''s fourth parameter lets you set a where clause to filter your report.


Thanks Rabbit, but that does''t say how. Either from a query or otherwise. Can you give more detail?
Thanks


Stoic,

Expand|Select|Wrap|Line Numbers


这篇关于使用组合框从表单中过滤报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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