SyntaxFix
Write A Post
Hire A Developer
Questions
Looks like it could be throwing the error on the empty data row, have you tried to just make sure itemDate isn't empty before you run the CDate() function? I think this might be your problem.