Expand|Select|Wrap|Line Numbers
- <%
- Set rsSystemSpecs = Server.CreateObject("ADODB.Recordset")
- rsSystemSpecs.ActiveConnection = MM_simplex_STRING
- rsSystemSpecs.Source = "SELECT TBLHELICOPTER.MANUFACTURER, TBLHELICOPTER.HELICOPTER, TBLLUGGAGE.* FROM TBLLUGGAGE INNER JOIN (TBLHELICOPTER INNER JOIN TBLPRODUCTTOHELI ON TBLHELICOPTER.HELICOPTERID = TBLPRODUCTTOHELI.HELICOPTERID) ON TBLLUGGAGE.PRODUCT_ID = TBLPRODUCTTOHELI.PRODUCTID WHERE (((TBLHELICOPTER.HELICOPTERID)=" + Replace(rsSystemSpecs__heliid, "'", "''") + " AND TBLPODUCTTOHELI.SYSTEM_TYPE = 'LUGGAGE'));"
- rsSystemSpecs.CursorType = 0
- rsSystemSpecs.CursorLocation = 2
- rsSystemSpecs.LockType = 1
- rsSystemSpecs.Open()
- %>
- <% If Not rsSystemSpecs.EOF Then Response.Write("<tr><td height='25' background='../images/menulinksback.gif'><p><img src='../images/featureicon.gif' width='10' height='10'>") %><a href='content.asp?id=<% =Request.QueryString("ID") %>&system=LUGGAGE' style='text-decoration:none'><% If Not rsSystemSpecs.EOF Then Response.Write(" Luggage</a></p></td></tr>") %>
Microsoft JET Database Engine error '80040e10'Line 126 is the rsSystemSpecs.Open() line
No value given for one or more required parameters.
/english/content.asp, line 126
I don't see what's wrong with it though
I wrote it like all my other items such as
Expand|Select|Wrap|Line Numbers
- <% Set rsSystemSpecs = Server.CreateObject("ADODB.Recordset")
- rsSystemSpecs.ActiveConnection = MM_simplex_STRING
- rsSystemSpecs.Source = "SELECT TBLHELICOPTER.MANUFACTURER, TBLHELICOPTER.HELICOPTER, TBLOILSYSTEMS.* FROM TBLOILSYSTEMS INNER JOIN (TBLHELICOPTER INNER JOIN TBLPRODUCTTOHELI ON TBLHELICOPTER.HELICOPTERID = TBLPRODUCTTOHELI.HELICOPTERID) ON TBLOILSYSTEMS.PRODUCT_ID = TBLPRODUCTTOHELI.PRODUCTID WHERE (((TBLHELICOPTER.HELICOPTERID)=" + Replace(rsSystemSpecs__heliid, "'", "''") + " AND TBLPRODUCTTOHELI.SYSTEM_TYPE = 'OIL'));"
- rsSystemSpecs.CursorType = 0
- rsSystemSpecs.CursorLocation = 2
- rsSystemSpecs.LockType = 1
- rsSystemSpecs.Open()
- %>
- <% If Not rsSystemSpecs.EOF Then Response.Write("<tr><td height='25' background='../images/menulinksback.gif'><p><img src='../images/featureicon.gif' width='10' height='10'>") %><a href='content.asp?id=<% =Request.QueryString("ID") %>&system=OIL' style='text-decoration:none'><% If Not rsSystemSpecs.EOF Then Response.Write(" Oil Spill</a></p></td></tr>") %>