Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/11/2003, 03:11
rrufo
 
Fecha de Ingreso: enero-2002
Mensajes: 1.438
Antigüedad: 23 años, 1 mes
Puntos: 0
q tal si te pongo el codigo q si funciona?
gracias otra vez.

<%
While ((Repeat1__numRows <> 0) AND (NOT MisProductos.EOF)) %>
<tr bgcolor="#FFFFFF">
<td><%=Repeat1__index%></td>
<td><input name="HF_FS<%=Repeat1__index%>" type="hidden" id="HF_FS<%=Repeat1__index%>" value="<%=(MisProductos.Fields.Item("IdFS").Value) %>">
<%=(MisProductos.Fields.Item("Marca").Value)%>(<%= (MisProductos.Fields.Item("Fabricante").Value)%>)</td>
<td><%=(MisProductos.Fields.Item("designacion").Va lue)%> </td>
<td>
<input name="Bultos" type="text" id="Bultos" size="2"
onchange="
this.form.TBruto.value = this.form.TBruto.value - this.form.HF_Bruto<%=Repeat1__index%>.value;
this.form.Total.value = this.form.Total.value - this.form.Exencion<%=Repeat1__index%>.value;
this.form.HF_Bruto<%=Repeat1__index%>.value = this.value*<%=(MisProductos.Fields.Item("Bruto").V alue)%>; this.form.Exencion<%=Repeat1__index%>.value = this.form.HF_Bruto<%=Repeat1__index%>.value * this.form.HF_Multiplicador<%=Repeat1__index%>.valu e;
this.form.TBruto.value = parseFloat(this.form.TBruto.value) + parseFloat(this.form.HF_Bruto<%=Repeat1__index%>.v alue)
this.form.Total.value = parseFloat(this.form.Total.value) + parseFloat(this.form.Exencion<%=Repeat1__index%>.v alue)

">
</td>
<td>
<%
response.write(MisProductos.Fields.Item("bultos"). Value)

%> </td>
<td><div align="right">
<input name="HF_Brutooo<%=Repeat1__index%>" type="hidden" id="HF_Brutooo2<%=Repeat1__index%>" value="<%= FormatNumber((MisProductos.Fields.Item("bruto").Va lue),-1, -2, -2, -2) %>">
<%= FormatNumber((MisProductos.Fields.Item("bruto").Va lue), -1, -2, -2, -2) %>
<input name="HF_Bruto<%=Repeat1__index%>" type="text" id="HF_Bruto<%=Repeat1__index%>" >
Kg</div></td>
<td><div align="center"><%=(MisProductos.Fields.Item("lq"). Value)%>
<input name="HF_LQ<%=Repeat1__index%>" type="hidden" id="HF_LQ<%=Repeat1__index%>" value="<%=(MisProductos.Fields.Item("lq").Value)%> ">
<input name="HF_Multiplicador<%=Repeat1__index%>" type="hidden" id="HF_Multiplicador<%=Repeat1__index%>" value="<%=(MisProductos.Fields.Item("multiplicador ").Value)%>">

<input name="Exencion<%=Repeat1__index%>" type="text" id="Exencion<%=Repeat1__index%>3" >
</div></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
MisProductos.MoveNext()
Wend
%>