post #1 of 1
Thread Starter 
I dont know how to program, yet my boss seems to think its my job to fix a problem. we have a website that links to a sql server (and to avoid a long explanation) i get the attached error when trying to save some changes on one of the forms. the code around line 11 is:

Dim Day, Month, Year, Hrs, Mins, Sec, HrsString, MinsString, SecString
***line 11-->***If d = "" Then Conv_Date = "NULL": exit function
 Hrs = DatePart("h", D): Mins = DatePart("n", D): Sec = DatePart("s", D): 
 Day = DatePart("d", D): Month = DatePart("m", D): Year = DatePart("yyyy", D)
any help would be great