A
Anonymous
This is a pretty dumb question but I can't seem to find
answer.
How do you check to see if a datatype of a variable is
correct? Eg in Visual Basic:
Dim datevar
datevar= "1a/2/2004"
If IsDate(datevar) <> true then
msgbox "The value in variable 'datevar' is not a date."
End if
Thanks.
answer.
How do you check to see if a datatype of a variable is
correct? Eg in Visual Basic:
Dim datevar
datevar= "1a/2/2004"
If IsDate(datevar) <> true then
msgbox "The value in variable 'datevar' is not a date."
End if
Thanks.