Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Sep 23, 2007 07:49 AM|LINK
before calling the function Just validate the values
check if it is dbNull or "" then do not call the function and return some error message
if the value of date is not present it makes no sense to format it .