Ver Mensaje Individual
  #7  
Antiguo 21-04-2006
Avatar de courtois
courtois courtois is offline
Miembro
 
Registrado: abr 2006
Ubicación: Mexico DF
Posts: 200
Reputación: 21
courtois Va por buen camino
Si en lugar de
Código SQL [-]
"select g.NGASTO,g.FECHA,g.idcliente,g.cantidad,c.nombre
from GASTOS g
left join _clientes c on c.idcliente=g.idcliente
order by g.idcliente"

Usas
Código SQL [-]
"select 
g.NGASTO,
g.FECHA,
g.idcliente,
g.cantidad,
(SELECT c.Nombre FROM _clientes c WHERE c.idcliente=g.idcliente) AS Nombre 
FROM GASTOS g
order by g.idcliente"
Será actualizable en todos los campos excepto en nombre
Responder Con Cita