Click here to Skip to main content
15,921,542 members
Home / Discussions / Database
   

Database

 
AnswerRe: Database Size Issues Pin
The Man from U.N.C.L.E.17-May-10 3:50
The Man from U.N.C.L.E.17-May-10 3:50 
QuestionGeneric database system Pin
vjvjvjvj16-May-10 22:32
vjvjvjvj16-May-10 22:32 
AnswerRe: Generic database system Pin
R. Giskard Reventlov16-May-10 23:03
R. Giskard Reventlov16-May-10 23:03 
AnswerRe: Generic database system Pin
PIEBALDconsult18-May-10 5:35
mvePIEBALDconsult18-May-10 5:35 
QuestionGetting Database Names from Server Pin
PDTUM16-May-10 10:47
PDTUM16-May-10 10:47 
AnswerRe: Getting Database Names from Server Pin
Eddy Vluggen16-May-10 14:41
professionalEddy Vluggen16-May-10 14:41 
QuestionUsing access to find the most of records Pin
Dave McCool16-May-10 6:56
Dave McCool16-May-10 6:56 
AnswerRe: Using access to find the most of records Pin
riced16-May-10 8:29
riced16-May-10 8:29 
1) You should be able to use the query builder to do a group by query. IIRC there's a button with a plus sign that allows you to do that easily.

2) Create a query that sums the number (same as for 1?) and sorts by sum descending and select the top 5 records. Create a similar query but sort by ascending.

3) I think you will need a Union query where each part is a query same as those in 1 and 2 but the source for each part of the union will be the different tables.

Two points. First you might change the data model to have one table with a column to store the year instead of separate tables for each year (you could easily do that with an action query to insert records from the existing tables). That could simplify all your reporting.

Secondly, not used Access for years so there might be better ways. Smile | :)
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
The only valid measurement of code quality: WTFs/minute.

GeneralRe: Using access to find the most of records Pin
Luc Pattyn16-May-10 8:32
sitebuilderLuc Pattyn16-May-10 8:32 
GeneralRe: Using access to find the most of records Pin
Dave McCool24-Jun-10 5:01
Dave McCool24-Jun-10 5:01 
QuestionSQL COMPACT VERSION Pin
Pranay Rana15-May-10 17:45
professionalPranay Rana15-May-10 17:45 
AnswerRe: SQL COMPACT VERSION Pin
Andy_L_J15-May-10 18:44
Andy_L_J15-May-10 18:44 
AnswerRe: SQL COMPACT VERSION Pin
CitrusTech15-May-10 22:08
CitrusTech15-May-10 22:08 
Questionmultiple threads [modified] Pin
Jack_1815-May-10 15:39
Jack_1815-May-10 15:39 
AnswerRe: multiple threads Pin
loyal ginger15-May-10 17:24
loyal ginger15-May-10 17:24 
GeneralRe: multiple threads Pin
Jack_1816-May-10 1:47
Jack_1816-May-10 1:47 
GeneralRe: multiple threads Pin
loyal ginger16-May-10 14:48
loyal ginger16-May-10 14:48 
AnswerRe: multiple threads Pin
Luc Pattyn16-May-10 2:41
sitebuilderLuc Pattyn16-May-10 2:41 
GeneralRe: multiple threads Pin
Jack_1816-May-10 5:29
Jack_1816-May-10 5:29 
GeneralRe: multiple threads Pin
Luc Pattyn16-May-10 5:41
sitebuilderLuc Pattyn16-May-10 5:41 
GeneralRe: multiple threads Pin
Eddy Vluggen16-May-10 6:06
professionalEddy Vluggen16-May-10 6:06 
AnswerRe: multiple threads Pin
Henry Minute17-May-10 3:19
Henry Minute17-May-10 3:19 
GeneralRe: multiple threads Pin
Luc Pattyn17-May-10 3:51
sitebuilderLuc Pattyn17-May-10 3:51 
GeneralRe: multiple threads Pin
Henry Minute17-May-10 5:03
Henry Minute17-May-10 5:03 
GeneralRe: multiple threads Pin
Luc Pattyn17-May-10 5:16
sitebuilderLuc Pattyn17-May-10 5:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.