Ver Mensaje Individual
  #26 (permalink)  
Antiguo 09/04/2008, 18:56
Avatar de i_e_s27
i_e_s27
 
Fecha de Ingreso: marzo-2008
Ubicación: En mi casa
Mensajes: 208
Antigüedad: 17 años, 1 mes
Puntos: 5
Re: Proplema con CInt

Cita:
Iniciado por Shiryu_Libra Ver Mensaje
creo que no te quedara mas que cambiar los nombres de los campos
Yo tmb creo que es como dice Shiryu_Libra...

Que pierdes con probar?

Cambia los campos 27, 28, 29 y 30 por, por ejemplo:

talle_27, talle_28, talle_29, talle_30

o mejor aun:

talle_veintisiete, talle_veintiocho, talle_veintinueve, talle_treinta

Y luego utiliza:

strSQLrsRef = "SELECT DISTINCT ref, color, SUM(talle_veintisiete), SUM(talle_veintiocho), SUM(talle_veintinueve), SUM(talle_treinta
) FROM detalle GROUP BY ref"

Saludos!