A
aceavl via AccessMonster.com
hi, i have a query that works fine untill 01/01/2008 how can i fix this???
SELECT tblCo.CoNombre, tblEmp.EmpNombre, tblEmp.EmpFechaVenta, tblEmp.
EmpMonto, tblEmp.EmpCan, Sum(tblPay.PayMonto) AS EmpPay
FROM (tblCo INNER JOIN tblEmp ON tblCo.CoIDPK = tblEmp.CoIDFK) INNER JOIN
tblPay ON tblEmp.EmpIDPK = tblPay.EmpIDFK
GROUP BY tblCo.CoNombre, tblEmp.EmpNombre, tblEmp.EmpFechaVenta, tblEmp.
EmpMonto, tblEmp.EmpCan
HAVING (((tblEmp.EmpFechaVenta)>=[Forms]![Ventas]![Com_From] And (tblEmp.
EmpFechaVenta)<=[Forms]![Ventas]![Com_To]) AND ((tblEmp.EmpCan)=0));
Help please!
thanxs
SELECT tblCo.CoNombre, tblEmp.EmpNombre, tblEmp.EmpFechaVenta, tblEmp.
EmpMonto, tblEmp.EmpCan, Sum(tblPay.PayMonto) AS EmpPay
FROM (tblCo INNER JOIN tblEmp ON tblCo.CoIDPK = tblEmp.CoIDFK) INNER JOIN
tblPay ON tblEmp.EmpIDPK = tblPay.EmpIDFK
GROUP BY tblCo.CoNombre, tblEmp.EmpNombre, tblEmp.EmpFechaVenta, tblEmp.
EmpMonto, tblEmp.EmpCan
HAVING (((tblEmp.EmpFechaVenta)>=[Forms]![Ventas]![Com_From] And (tblEmp.
EmpFechaVenta)<=[Forms]![Ventas]![Com_To]) AND ((tblEmp.EmpCan)=0));
Help please!
thanxs