I am getting the following error. Can someone tell me why I would be getting this error?
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/am1st/MyStuff/updatetest/maintain1.asp, line 50, column 6
dim x = 1
-----^
Here is the code
%
if request("Selected2"
= "1" Then
dbrs2.movefirst
dim x = 1 // This is line 50
do while NOT dbrs2.EOF
''dbrs2("date"
=request("date" & x)
dbrs2("hour"
=request("hour" & x)
''dbrs2("code"
=request("code" & x)
dbrs2.update
dbrs2.movenext
loop
%>
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/am1st/MyStuff/updatetest/maintain1.asp, line 50, column 6
dim x = 1
-----^
Here is the code
%
if request("Selected2"
dbrs2.movefirst
dim x = 1 // This is line 50
do while NOT dbrs2.EOF
''dbrs2("date"
dbrs2("hour"
''dbrs2("code"
dbrs2.update
dbrs2.movenext
loop
%>