验证数据 [英] Validating data

查看:95
本文介绍了验证数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从一个数据库中的表中有一个数据输入表单,该数据表链接到第二个数据库中的表。 该链接位于为月份和年份设置的日期字段中。 在我的数据输入表单中,如果数据尚未输入到
其他数据库的表中,当该人离开该字段时,他们应该收到一条警告,表明该数据尚未在另一个表中,因此记录无法保存。 我无法找到最好的方法。

I have an data entry form from a table in one database that is linked to a table in a second database.  The link is on a date field that is set for month and year.  In my data entry form, if the data has not been entered yet into the table in the other database, when the person leaves the field, they should get a warning that the data is not yet in the other table so therefore the record cannot be saved.  I can't figure out the best way to do that.

有什么建议吗?

推荐答案

嗨。在您的数据输入表单中,用户是否应该输入另一个表的其他信息?数据验证可以在表格的BeforeUpdate事件中完成。
Hi. In you data entry form, is the user supposed to enter that other information for the other table? Data validation can be done in the form's BeforeUpdate event.


这篇关于验证数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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