ravikumar00008
New Member
HI,
This is the query i am using to update the records.
But when i am executing,getting sql syntax error.
Please correct the syntax of the query.
[pre]
[/pre]
Regards
Kumar
This is the query i am using to update the records.
But when i am executing,getting sql syntax error.
Please correct the syntax of the query.
[pre]
Code:
sSQL = "UPDATE TblTest " & _
"set [Month] = '" & SplitMonth & "' , [Year] = '" & SplitYear & "' , [Protocol#] = '" & ColA & "'" & _
" [Project Name]= '" & ColB & "' , [Project Coord]= '" & ColC & "' , [Lot#]= '" & ColD & "'" & _
" [Date Rec'd]= '" & ColE & "' , [Date ready to measure]= '" & ColF & "' , [Date Measured]= '" & ColG & "'" & _
" [Qty of Lenses Measured]= '" & ColH & "' , [BC]= '" & ColI & "' , [CT]= '" & ColJ & "'" & _
" [Power]= '" & ColK & "' , [Diameter]= '" & ColL & "' , [Lens Cross Sections]= '" & ColM & "'" & _
" [Qty of Lenses x-sectioned]= '" & ColN & "' , [Others]= '" & ColO & "' , [CompletionDate]= '" & ColP & "'" & _
" [Turn Around Time(# of Days)]= '" & ColQ & "'" & _
" Where [ID] = '" & SqlID & "'"
Regards
Kumar