I am working with ACCESS 2013 and Windows 10. I am working with basketball stats. I am working with Career Points scored – most found from totaling game by game stats. The query gives me good results. When I go to print a report, the points scored value is different. It seems that the report shows the career_points * #_years_varsity.44799-Report_V_Car_Points
I only did the query part with the career years after seeing the problem with the points in the report.
The SQL for the query:
SELECT TOP 35 [Years_Var_#1_Query].Full_Name, Sum([53_V_v3_Seas_Pts_Query].Max_pts) AS SumOfMax_pts, [Years_Var_#4_Query].Career_Years, [Years_Var_#2_Query].MaxOfFall_Year, [Years_Var_#2_Query].MinOfFall_Year, [Years_Var_#2_Query].[MaxOfFall_Year]-[Years_Var_#2_Query].[MinOfFall_Year]+1 AS Years_played
FROM [Years_Var_#4_Query] INNER JOIN ([Years_Var_#3_Query] INNER JOIN (((53_V_v3_Seas_Pts_Query INNER JOIN Players ON [53_V_v3_Seas_Pts_Query].Player_ID = Players.Player_ID) INNER JOIN [Years_Var_#1_Query] ON Players.Player_ID = [Years_Var_#1_Query].Players.Player_ID) INNER JOIN [Years_Var_#2_Query] ON [Years_Var_#1_Query].Players.Player_ID = [Years_Var_#2_Query].[Years_Var_#1_Query].Players.Player_ID) ON [Years_Var_#3_Query].[Years_Var_#2_Query].[Years_Var_#1_Query].Players.Player_ID = [Years_Var_#2_Query].[Years_Var_#1_Query].Players.Player_ID) ON [Years_Var_#4_Query].[Years_Var_#3_Query].[Years_Var_#2_Query].[Years_Var_#1_Query].Players.Player_ID = [Years_Var_#3_Query].[Years_Var_#2_Query].[Years_Var_#1_Query].Players.Player_ID
GROUP BY [Years_Var_#1_Query].Full_Name, [Years_Var_#4_Query].Career_Years, [Years_Var_#2_Query].MaxOfFall_Year, [Years_Var_#2_Query].MinOfFall_Year, [Years_Var_#2_Query].[MaxOfFall_Year]-[Years_Var_#2_Query].[MinOfFall_Year]+1, Players.Grad_year
ORDER BY Sum([53_V_v3_Seas_Pts_Query].Max_pts) DESC , Players.Grad_year;
The other question – can a value be ‘created’ in the report? i.e. SumOfMaxPts/#_Career_Years
-
Report results different than query data
- This topic has 1 reply, 1 voice, and was last updated 8 years, 11 months ago.
AuthorViewing 0 reply threadsAuthorViewing 0 reply threads