Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/12/2004, 20:52
Avatar de GeoAvila
GeoAvila
Colaborador
 
Fecha de Ingreso: diciembre-2003
Ubicación: Antigua Guatemala
Mensajes: 4.032
Antigüedad: 20 años, 4 meses
Puntos: 53
aqui hay otra opcion
Código PHP:
'limpias la variable
SubTotal = 0
For i = 1 To ListadoDetalleFactura.Rows - 1
'
el textmatrix sirve para ubicarte en fila y columna respectivamente
If ListadoDetalleFactura.TextMatrix(i5) = "" Then
Else
'si el grid posee algo que lo sume
SubTotal = SubTotal + ListadoDetalleFactura.TextMatrix(i, 5)
End If
Next i
msgbox subtotal 
espero te sirva....
__________________
* Antes de preguntar lee las FAQ, y por favor no hagas preguntas en las FAQ
Sitio http://www.geoavila.com twitter: @GeoAvila