Hi,
The below given link will describe the steps(similer) to validate the your current InfoPath form data using data base tables data.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2483&SearchTerms=Date,validation
I hope this will help you to solve your problem.