Sorry asking again..i have a problem when i tried to insert datetime from field. The problem is Syntax error converting datetime from character string.i'm using SQL Server 2000. below is my code
startDate = Trim(Request("StartDate"))
endDate = Trim(Request("EndDate"))
SELECT *
FROM tbl_Master
WHERE DoDate BETWEEN CONVERT(DATETIME, '"&startDate&"', 102)
AND CONVERT(DATETIME, '"&endDate&"', 102)
Really appreciate for that.Thanks
Regards -GreenCat-