access 2007 一个循环,以一种形式循环遍历特定文本框
我的问题如下 我有一个属性表单,其中包含一个名为 DateTo 的文本字段(此文本字段包含数据类型 Date) 我想循环遍历每个属性上的 DateTo 文本字段,并将其打印在消息框中,作为租户名称文本字段和租户地址1 字段。 完成后,我想在消息框中仅显示属性 满足特定条件。 DateTo 文本框中的日期之前一个月,我希望这些值在消息框中打印出来。
任何帮助将不胜感激
my problem is as follows
I have a properties form which contains a textfield called DateTo(this textfield contains the data type Date)
I would like to loop through the DateTo textfield on each of the properties and prints this out in a message box as wasll as a tenantName textfield and a tenantAddress1 field.
After this is complete i would like to display in the message box only the properties
that meets a particular condition. A month before the Date in the DateTo textbox I would like these values to be printed out in a message box.
any help would be greately appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
像这样的东西应该给你一个工作框架。
您需要更改
set rs1 = db...
行以包含您要添加的任何条件。例如:
或者您正在寻找的任何标准。
Something like this should give you a framework to work from.
You'll need to change the
set rs1 = db...
line to include whatever criteria you want to add.Something like:
Or whatever criteria you are looking for.