Ver Mensaje Individual
  #7 (permalink)  
Antiguo 12/05/2008, 05:57
Avatar de plantala
plantala
 
Fecha de Ingreso: abril-2008
Ubicación: Jamaica
Mensajes: 176
Antigüedad: 16 años
Puntos: 1
Re: Vinculos en dreamweaver

Cita:
Iniciado por Lebennin Ver Mensaje
No hace falta que indiques de donde tiene que coger la variable. Pon el codigo de las dos páginas y miramos a ver que pasa.
Tengo esto al principio de la pagina:

Dim id
id = Recordset1.Request.Querystring("IdFamilia")

Aqui esta Productos.asp:
-----------------------------------------------------------------------------
<body>
<%While NOT Recordset2.EOF%>
<%If id = Recordset2.Fields.Item("IdFamilia").Value then%>
<table width="219" border="1">
<tr>
<td width="19"><a href="file:///C|/Documents and Settings/I&ntilde;igo/Mis documentos/inaug.asp"><img src="file:///C|/I&ntilde;igo/Webs/INAUG/editar/images/next.gif" width="16" height="16" border="0" /></a></td>
<td width="365"><%=(Recordset2.Fields.Item("Nombre").V alue)%></td>
</tr>
</table>
<table width="400" border="0">
<tr>
<td><span class="Estilo2">Descripci&oacute;n:</span></td>
</tr>
<tr>
<td><%=(Recordset2.Fields.Item("Descripcion").Valu e)%></td>
</tr>
</table>
<table width="400" border="0">
<tr>
<td><span class="Estilo2">Recubrimientos disponibles:</span></td>
</tr>
<tr>
<td><%=(Recordset2.Fields.Item("Recubrimiento").Va lue)%>
<table width="400" border="0">
<tr>
<td><span class="Estilo2">Presentaci&oacute;n:</span></td>
</tr>
<tr>
<td><%=(Recordset2.Fields.Item("Presentacion").Val ue)%></td>
</tr>
</table></td>
</tr>
</table>
<%End If%>
<%Recordset2.MoveNext%>
<%WEnd%>
<p>&nbsp;</p>
</body>
-------------------------------------------------------------------------------------------
Aqui tienes familias.asp:
--------------------------------------------------------------------------------------------
<body>
<table width="400" border="1" align="center">
<%While NOT Recordset1.EOF%>
<tr>
<td><a href="Productos.asp"><img src="<%=(Recordset1.Fields.Item("Imagen").Value)%> " border="0" /></a></td>
<td><%=(Recordset1.Fields.Item("Nombre").Value)% ></td>
<%Recordset1.MoveNext%>
<td><a href="Productos.asp"><img src="<%=(Recordset1.Fields.Item("Imagen").Value)%> " border="0" /></a></td>
<td><%=(Recordset1.Fields.Item("Nombre").Value)% ></td>
</tr>
<%Recordset1.MoveNext%>
<%WEnd%>
</table>
</body>
--------------------------------------------------------------------------------------------
Un saludo!
Gracias.