HakanAzaklioglu
Jun 22nd, 2000, 08:35 PM
I always seem to have problems with sytax so here we go again...
This is the code that I have created to work on one of my pages:
<%IF rsRAM = "" THEN%>
<select size="1" name="ddRAM">
<option value="0">OPTION NOT AVAILABLE</option>
</select>
<%ELSE%>
<select size="1" name="ddRAM">
<option value="<%response.write rsRAM("SYSPRICE")%>"><%response.write rsRAM("DESCRIPTION")%></option>
</select>
<%END IF%>
The error message I am recieving is as follows:
Microsoft VBScript compilation error '800a0400'
Expected statement
And help would be apreciated... Thank you
Kind Regards,
Hakan
This is the code that I have created to work on one of my pages:
<%IF rsRAM = "" THEN%>
<select size="1" name="ddRAM">
<option value="0">OPTION NOT AVAILABLE</option>
</select>
<%ELSE%>
<select size="1" name="ddRAM">
<option value="<%response.write rsRAM("SYSPRICE")%>"><%response.write rsRAM("DESCRIPTION")%></option>
</select>
<%END IF%>
The error message I am recieving is as follows:
Microsoft VBScript compilation error '800a0400'
Expected statement
And help would be apreciated... Thank you
Kind Regards,
Hakan