Hello Friends,
I converted an Access 97 database to Access 2003 and then I put Access in frontend and SQL Server in the backend.Now some of my reports are not working.Here is one of these queries.How should I convert this query to stored procedure so that reports should work properly.
I converted an Access 97 database to Access 2003 and then I put Access in frontend and SQL Server in the backend.Now some of my reports are not working.Here is one of these queries.How should I convert this query to stored procedure so that reports should work properly.
Code:
TRANSFORM First([Messung_Ottensen].[NO3_N Nitratstickstoff]) AS [SummeVonMessung_Ottensen_NO2_N Nitritstickstoff] SELECT (Format([Dat],
[dd mmm yyyy]))
AS Ausdr1
FROM Messung1
WHERE (((Messung1.Dat) > #9 / 1 / 2003 #) AND
((Messung1.Messung_Ottensen.Projekt)
= [ottensen]) AND((Messung1.Hangwasseranalyse)
= No))
GROUP BY (Year([Dat]) * 12 + Month([Dat]) - 1),
Messung1.Dat, (Format([Dat], [dd mmm yyyy])),
Messung1.Hangwasseranalyse
PIVOT Messung1.Messung_Ottensen.Projekt;