![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/03/2007, 03:51
|
![Avatar de kennyhp](http://static.forosdelweb.com/customavatars/avatar143085_1.gif) | | | Fecha de Ingreso: julio-2006
Mensajes: 370
Antigüedad: 18 años, 7 meses Puntos: 5 | |
Re: Contar Facturas y Boletas Prueba con esta consulta a ver si te sale:
TRANSFORM COUNT(idFactura)
SELECT *
FROM Facturas
WHERE YEAR(month)=Mes // no se seguro si se controla asi el mes!!
PIVOT idFactura |