填充年龄范围两个文本框 [英] Populating age range two text boxes

查看:286
本文介绍了填充年龄范围两个文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我有一个数据库,我想生成年龄范围。

我想包括两个文本框,如:


txtBeginningAge

txtEndingAge


使用这些文本框,在更新它们(输入年龄范围)后,我想要包含一个按钮,该按钮将根据年龄生成报告范围。


我可以运行一个查询,弹出一个请求输入开始和结束年龄的对话框,但我希望它在我的报告菜单上。


我有这个根据需要生成我的一些报告:

Hi I have a database that I would like to generate age range.
I would like to include two text boxes like:

txtBeginningAge
txtEndingAge

With these text boxes, after updating them (entering the age range), I would like to include a button that will generate a report base on the age range.

I can run a query that pops up a dialogue box requesting the entry of beginning and ending age, but I want it to be on my report menu.

I have this that generates some of my reports as needed:

展开 | 选择 | Wrap | 行号

推荐答案

您可以在查询编辑器中引用表单控件 Forms!formName!controlName
You can refer to form controls in the query editor Forms!formName!controlName


感谢Rabbit,但这让我无处可去。
Thanks Rabbit, but this is taking me to nowhere.


In有什么办法?您只需要使用表单控件引用替换查询中的参数。
In what way? You just need to replace your parameters in your query with the form control reference.
展开 | 选择 | Wrap | 行号


这篇关于填充年龄范围两个文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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