Hi
I am developing a website using ASP VB Script, I was using an Access Database to begin with but then decided to switch over to MySQL as I found out was some what superior. After swaping over the recordset I keep getting the following error, do you think that the error could be due to the code? your help will be greatly appreciated, I have also enclosed the code that I get the error for.
Thanks
Error Type:
ADODB.Fields (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name
or ordinal.
/mysite.com/TMPaagfzl3qc.asp, line 469
The code is:
460 <div align="center">
461 <%
462 ' *** Show Image If Available
463 ' *** RobGT Server Behaviour 107 - By RobGT - ***
464 If (Rslts.Fields.Item("Image1surl"
.Value) <> "" Then%>
465 <img src =
"<%=(Rslts.Fields.Item("Image1surl"
.Value)%>">
466 <%Else%>
467 <img src
="../../shamsrealty.co.uk/site_images/nophoto_1s.jpg">
468 <% End If %>
469 </div>
I am developing a website using ASP VB Script, I was using an Access Database to begin with but then decided to switch over to MySQL as I found out was some what superior. After swaping over the recordset I keep getting the following error, do you think that the error could be due to the code? your help will be greatly appreciated, I have also enclosed the code that I get the error for.
Thanks
Error Type:
ADODB.Fields (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name
or ordinal.
/mysite.com/TMPaagfzl3qc.asp, line 469
The code is:
460 <div align="center">
461 <%
462 ' *** Show Image If Available
463 ' *** RobGT Server Behaviour 107 - By RobGT - ***
464 If (Rslts.Fields.Item("Image1surl"
465 <img src =
"<%=(Rslts.Fields.Item("Image1surl"
466 <%Else%>
467 <img src
="../../shamsrealty.co.uk/site_images/nophoto_1s.jpg">
468 <% End If %>
469 </div>