Nov 6, 2003 #1 JaeBrett Programmer May 5, 2003 196 CN I am using MaskedBox for users to put in their DOB. Is there a call to verify that it is a legitamate date?
I am using MaskedBox for users to put in their DOB. Is there a call to verify that it is a legitamate date?
Nov 6, 2003 1 #2 vladk Programmer May 1, 2001 991 US If Not IsDate(maskDOB.text) and maskDOB.text <> "__/__/____" then MsgBox "Bad date." end if Upvote 0 Downvote
If Not IsDate(maskDOB.text) and maskDOB.text <> "__/__/____" then MsgBox "Bad date." end if
Nov 6, 2003 #3 paulbent Programmer Mar 4, 2002 1,071 GB Use the IsDate function but test for an empty string as well. Paul Bent Northwind IT Systems http://www.northwindit.co.uk Upvote 0 Downvote
Use the IsDate function but test for an empty string as well. Paul Bent Northwind IT Systems http://www.northwindit.co.uk