Saturday, October 5, 2013

Date Giving Me #Error No Matter How I Try to Format It :-(

Hi Puffster,


try this:



public function formatDate(dt as string) as string

If IsDate(dt)
return "Yes"
End If

return "No"
end function



and call the code as this:



=Code.formatDate(CSTR(Fields!YourField.Value))





Regards Harsh


No comments:

Post a Comment