Puff, tremenda solución Cobein...! Me gusta...!
![:D :D](https://forum.elhacker.net/Smileys/navidad/cheesy.gif)
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
Update tbl_reporte_temporal Set existencia_inicial = tbl_DcierreInventario.Existencia_I From tbl_DcierreInventario WHERE tbl_reporte_temporal.coditems = tbl_DcierreInventario.coditems AND tbl_DcierreInventario.CodAlmacen='1' and tbl_DcierreInventario.fechacierre='17/05/2010'
UPDATE tbl_reporte_temporal
SET (existencia_inicial) =
(SELECT SUM(tbl_DcierreInventario.Existencia_I) AS Existencia
FROM tbl_reporte_temporal
WHERE (tbl_DcierreInventario.CodAlmacen = '1') AND (tbl_DcierreInventario.fechacierre = '17/05/2010')
GROUP BY tbl_DcierreInventario.coditems)
WHERE tbl_DcierreInventario.coditems = tbl_reporte_temporal.coditems