如何简单地为 MS Access 中设置的日期设置警报/提醒?
我在 MS Access 中有一个数据库,其中保存了 SSL 的到期日期。我想为任何即将过期的 SSL 设置提醒。有人知道最简单的方法吗?
I have a database in MS Access and within it I am holding dates for expirations for SSL's. I want to set a reminder for any SSL that is soon to expire. Anyone know the easiest way to go about this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这完全取决于您希望通知如何工作。
弹出窗体的最简单方法可能是创建一个在数据库打开或菜单窗体打开时运行的窗体。这可以在启动选项中设置。该表单应基于检查过期记录的查询,并且仅在有数据时才可见。您可以检查加载事件中的记录集以查看是否返回任何内容。这也可以使用DoCmd.SendObject来发送电子邮件。
It all depends on how you want the notification to work.
The easiest way to pop-up a form may be to create a form that runs when the database opens or when the menu form opens. This can be set in the start-up options. The form should be based on a query that checks for out of date records and is only made visible if there is data. You can check the recordset in the load event to see if anything is returned. This for can also use DoCmd.SendObject to send an email.