X
Xavier
Hi all!
I've upgraded my Access database to an MSDE-driven one. I use an Access 2002
project as front-end and MSDE as back-end.
Now I find that all the crosstab queries nolonger work. I've searched the
Internet and , as far as I understand, everywhere I look, it says that MSDE
does not suport crosstab queries, or at least, not in the way Access writes
them and some webpages offer apps that convert the SQL sentence.
If someone knows how to re-write a query such as the following one, I beg
him/her to tell me. I have several queries to re-write, so if you can
explain the general way to convert them, I would be very grateful.
Thanks!!
Xavier
One of the queries to be re-written is:
TRANSFORM Sum(DesgloseFact.Gasto) AS [El Valor]
SELECT DesgloseFact.Vehicle, DesgloseFact.Acreedor, Sum(DesgloseFact.Gasto)
AS [Total de Gasto]
FROM DesgloseFact
WHERE (((DesgloseFact.Vehicle)=[Forms]![EstAcreedor]![Matrícula]) AND
((Year([Data]))=[Formularios]![EstAcreedor]![any]))
GROUP BY DesgloseFact.Vehicle, DesgloseFact.Acreedor, DesgloseFact.Data
PIVOT Format([Data],"mmm") In
("ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic");
I've upgraded my Access database to an MSDE-driven one. I use an Access 2002
project as front-end and MSDE as back-end.
Now I find that all the crosstab queries nolonger work. I've searched the
Internet and , as far as I understand, everywhere I look, it says that MSDE
does not suport crosstab queries, or at least, not in the way Access writes
them and some webpages offer apps that convert the SQL sentence.
If someone knows how to re-write a query such as the following one, I beg
him/her to tell me. I have several queries to re-write, so if you can
explain the general way to convert them, I would be very grateful.
Thanks!!
Xavier
One of the queries to be re-written is:
TRANSFORM Sum(DesgloseFact.Gasto) AS [El Valor]
SELECT DesgloseFact.Vehicle, DesgloseFact.Acreedor, Sum(DesgloseFact.Gasto)
AS [Total de Gasto]
FROM DesgloseFact
WHERE (((DesgloseFact.Vehicle)=[Forms]![EstAcreedor]![Matrícula]) AND
((Year([Data]))=[Formularios]![EstAcreedor]![any]))
GROUP BY DesgloseFact.Vehicle, DesgloseFact.Acreedor, DesgloseFact.Data
PIVOT Format([Data],"mmm") In
("ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic");