Validate Date
Checks and makes sure that the user enters in a valid date. Make a text box on a form and call it txtDate
AI
AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
மூலக் குறியீடு
sub validDate()
If txtDate.Text <> "" Then
If IsDate(txtDate) = False Then
MsgBox "You have entered an Invalid Date in Last Contacted please use MM/DD/YYYY", , "Invalid Entry"
txtDate.text= ""
Else
txtDate.Text = Format(txtDate.Text, "General Date")
End If
Else
txtDate.Text = Date
End If
end sub
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது