Hello, All. This is my first post and I am using Access as a tool to link to data tables in a Pervasive database with ODBC, using queries and reports to extract and report molding press downtime and prioritize it. I am able to get the data with a query that selects rows of run data for each press and I can report that out.
I have not figured out how to generate a report or query that totals records by press (but does not show them), and then ranks the presses by the totals in descending order. Example data:
Press-AvailHrs-DownHrs-%DownTime*
13-8-2-25
13-8-1-12.5
13-8-0-0 (Overall % Downtime 12.5)
15-8-4-50
15-8-3.5-44
15-8-3-37.5 (Overall % Downtime 43.7)
*(this is an query expression=DownHrs/AvailHrs)
I want my report to list only two rows in descending order by Overall % Downtime, i.e.,
Press-Overall % Downtime
15-43.7
13-12.5
I was able to figure out how to make a ranking of descending
%Downtime by cascading queries, but I can’t get past this point.
I would greatly appreciate your help. (I searched the forum but could not find anything close.)