Reports:Grouping, Then Sorting, Then List?
Feb 23, 2006
Ok Second issue: I have a list of companies that each offer 5 different programs. Eash Listing in the query (My report is built on this) has both a column for the definition and a colum with a number idenitfying the amount of people in the program.
What I need is to HIRE someone, but maybe I can do this:
I want to list each company and all 5 programs associated with that company; easy and its done.
Then I want to have a summary at the bottom of the report that goes to each company, takes the 5 programs for maybe 1, maybe 3 or maybe 92 companies, and lists them in order. Order = the top 5 programs for all the different companies. See and it gets complicated because sometimes, a program can be the largest for every company in the report, and then the second program for each company is different for each each company. So I need to arrange the programs in an order. then sort them by size, and them only show the top 5.
PLEASE, if you got through this far of my irrational and illogical brain then maybe you can help
Thanks Sean
View Replies
ADVERTISEMENT
Apr 10, 2015
What I wish to achieve is to create a report that groups and sorts without the need of a header section as it is taking up to much space cascading :
----
----
----
----
----
----
rather than :
---- ---- ---- ----
----
----
---- ---- ----
----
----
I basically want it not to cascade but do the exact same thing as it does inside its own header. (We need to dramatically cut down the page amount as a delivery schedule is printed out daily and could do with the page count around 10 rather than 50 ).
(Links below)
What It Looks Like ....
What I Want ....
View 2 Replies
View Related
Feb 2, 2015
How can I change report Sorting and Grouping through code? I tried:
Dim rpt As Report
Dim strReportName As String
strReportName = "ReportName"
[Code].....
But this did not work. I assume because it is on the Open command for the report. I think I might have to place some Event Procedure in the Group Header - On Format or On Print? However, I can not find the right syntax to do that.
View 1 Replies
View Related
May 15, 2013
Access 2010. I have a table with the following fields:
- From
- To
- TypeOfWork (to be chosen from a combo-box)
- Activity (text field to be filled in freely)
In a table i have a complete day with times (from -> to), the type of work between those times and the activity performed between those times a bit like this:
FROM TO TYPE OF WORK ACTIVITY
00:00 - 11:00 Welding Welding clamps
11:00 - 13:00 Welding Welding anodes
13:00 - 15:00 Cleaning Cleaning pipes
15:00 - 18:00 Cleaning Cleaning floor
I would like it to show in the report like this:
FROM.....TO.......TYPE OF WORK.....ACTIVITY
00:00 - 13:00......Welding............00:00 Welding clamps
...............................................11: 00 Welding anodes
13:00 - 18:00......Cleaning...........13:00 Cleaning pipes
...............................................15: 00 Cleaning floor
So it should sort on "From", then group by "TypeofWork" and repeat the "From" field(I think...). But I now have tried every combination of sorting and grouping I could think of and nothing works!
View 13 Replies
View Related
Dec 2, 2014
I'm trying to group data in a report from single table using grouping and sorting and I want the percentile of every record over group total. I'm using a query to fetch data from table, however I'm unable to get percentage of every single record over group total.
I want to display the report as attached image in single report. I'm unable to get data in "Perc" field. It's populating wrong values.
View 3 Replies
View Related
Jul 13, 2015
I have a table for gathering interview scores for candidates from multiple reviewers (example below)
Field1 - RankID
Field2 - Presentation Score
Field3 - Writing Score
Field4 - Applicant Name
etc.
Each applicant will be interviewed by multiple reviewers. I want a report to display the data is grouped by Applicant name, but sorted by Score.
Applicant2 - average presentationscore = 5
Applicant1 - average presentationscore = 4
Applicant3 - average presentationscore 2
it seems simple enough to group by applicant name and sort by PresentationScore, but this does not work. I have used the grouping and sorting feature in every combination I can think of and it always keeps the Applicant Names in order whether I group first on PresentationScore (which will then give me several entries for same applicant) or not. What am I missing?
View 6 Replies
View Related
Jul 27, 2006
I have a query that is sorted on the officename and the lastname.
My report is grouped by officename
I can't get the lastnames to be sorted alphabetically - I'm not sure why, since they are in the query.
What can I do to make it grouped by officename and lastname sorted?
View 1 Replies
View Related
Dec 23, 2004
I have a report that sums the failure cost and displays it in weekly increments. The Query that populates this report brings in [Date], [failure cost], and [department]. I need to separate one department out of the total and display it's total separately on the same report. I am using the [Date] field to group it into weekly increments. Any help would be greatly appreciated.
View 3 Replies
View Related
Nov 27, 2014
I am using the student database template and I have added some tables and made some changes so I am trying to get all of the existing reports to work. The Emergency Contact Report is giving me an invalid sorting and grouping error. I have never even used a report and I have no clue what needs to be fixed.
View 1 Replies
View Related
Nov 20, 2006
Hi,
I have a form with 1 List Box. This list box contains the names(SSN, Department, Status) of the columns in TableA.
The question is, can I create just ONE query statement, and base the GROUP BY on whichever field the user selects?
For example, if a user choose Department, then the query will group by Department. I know how do this by the long way; meaning I create 3 separate for each,(qrySSN, qryDepartment, qryStatus) and if say the user select SSN, it will open the qrySSN query. This is way too much maintenance. I have a feeling there is a much easier way. Please advice.
Thank you.
Joe
View 3 Replies
View Related
Nov 3, 2004
I have a report with set up as follows:
Group Header: Division
Group Header: Subdivision
Detail
Is it possible to get the Division to only appear once per value?
e.g.,
Division
Subdivision
Detail
Subdivision
Detail
NEW Division
Subdivision
Detail
etc.
Right now the Division appears before the subdivision every time, even if the division is the same as before. I did change "Hide Duplicates" to "yes", but that didn't help.
View 3 Replies
View Related
Nov 2, 2006
Currently I am creating a form in Access 2003. I have a table that I has 7 column headings, events, location, date, time notes, classs, and region. I need to know how to sort these columns by clicking on a button that will be assigned to that column or by clicking the column header? This needs to be able to sort it in ascending order based on any one of the columns? An example of this would be similar to an e-mail account, where you can either click on the subject header to reorder based on the subject, or click on the date header to reorder based on the date.
View 1 Replies
View Related
Aug 19, 2004
Hello,
This is a bit of a stupid problem but I've been trying to get a report in Access that will display data in a certain format but have been having real difficultly getting the grouping right.
This is the SQL query that I've got which gets all the results
SELECT Student.Surname, Student.Forename, Student.Admission_No, Student.Year, Course.Course_Title, Student_Course.Grade, Student_Course.Points, Student_TotalPoints.Total_Points, Student_TotalPoints.Mean_Points, SchoolTotal.School_Total FROM ((SchoolTotal INNER JOIN Student ON SchoolTotal.Year=Student.Year) INNER JOIN (Course INNER JOIN Student_Course ON Course.Course_Id=Student_Course.Course_id) ON Student.Student_id=Student_Course.Student_id) INNER JOIN Student_TotalPoints ON Student_Course.Student_id=Student_TotalPoints.Stud ent_id;
See attachment for results this produces...
I would like to get these results to be displayed like this:
Name Admission No Year Course Grade Points
Dave Jones 1856 2004 Business D 60
RE C 80
-------------------------
Total Points 140
Mean Points 70
--------------------------
Becky Smith 1974 2004 Chemistry A 120
Physics B 100
---------------------------
Total Points 220
Mean Points 110
---------------------------
etc
I know I could do this for a webpage using ASP so there must be somewhere to get the report looking like this in Access....
Any help would be much appreciated...
Andy
View 1 Replies
View Related
Jan 26, 2014
I have a report showing products and their selling prices
Most products have only one selling price, however a few have more than one selling price
To cater for this I have created a group called "Products"
The selling prices are then in the reports' "details" section.
Works well, except that every product now spans 2 lines. One for the product description and another for the price. This doubles the number of pages in the report.
As products with only one price is the norm, is there a method that I can adopt to show products:
* with one selling price - product description and selling price on one line
* with more than one selling price - product description and first selling price on one line, with subsequent selling prices on line below?
View 1 Replies
View Related
Mar 2, 2013
I am trying to create a report grouped by payment date. The problem I'm having is there are 3 different payment date fields on one table and 1 payment date field on another table. I cannot figure out how to get my group expression to pull up the dates from each one of the fields. Do I need to create a new table for each payment type, or is there a way to create a common field "Payment Date" and pull up date from these 3 fields. I have a criteria form which sets beginning and ending dates, but where to assign it. The report is called "Payments by Date" and I need to show PPD (primary payment date), SPD (secondary payment date), etc.
View 1 Replies
View Related
May 30, 2013
I have a report that has a group within a group. The interior group has a footer with a textbox calculating an average. I would like the Outer group to then SUM the averages. I tried doing a =sum([TextBoxWithTheGroup Average]), but access prompts me for the value of this box when I run the report.
To summarize: is there a way to sum a textbox within the footer of a grouping
View 1 Replies
View Related
Sep 21, 2012
I have a database with a form. Form has a list Box. I write a code for sorting data in list Box and it is worked but sorting in one of the column in list box does not work.I think the reason of it that this column is a combo box with multiple values.
The file of database is in attachment.
View 2 Replies
View Related
Nov 8, 2014
I'm trying to create a report with data from 7 different tables. It's supposed to be an assignment overview for a transfer company (driving people from A to B, dunno how to call it in English). I put assignment and customer details into the page header, which is working out fine so far. But now I want to show transfer details and it's proving to be a bit troublesome.
When creating the assignment, the user can choose whether the transfer goes from/to an address or from/to an airport. Depending on which one he chose the data is stored in different tables. To determine whether it is an outward journey/collection, outward journey/target, return journey/collection or return journey/target, I put a field in each of those tables ("Schritt", its value being either 1, 2, 3 or 4).
To visualize I made screenshot of the tables in relationship view, but since I'm a new member i can't seem to post images, so I'm giving you a pseudo URL...
[abload (dot) de (slash) img (slash) transeren40p1r.png]
The final report should look like this:
outward journey
---collection (1)
---target (2)
return journey
---collection (3)
---target (4)
Having the "Schritt" value for each step in either one or another table (address(es) or flight data) is making it a bit hard for me to wrap my head around the problem. Is that doable with expressions or is there a way in VBA to solve this problem?
View 7 Replies
View Related
Nov 2, 2013
Placing the grouping total values on the bottom of the last page of this report, such as below?
Common . . . . . . 44.55%
Convertable Bond .14.55 %
Preferred . . . . . . .40.91%
View 1 Replies
View Related
Feb 6, 2015
I have a table which now contains a couple of hundred records with more than thirty fields each, and will ultimately contain over 1000 records. Some of these fields use the multiple value feature, and the fields and the forms which fill them work beautifully. Now comes the challenge.
Without going into detail that I'm not at liberty to share, I can say that there are different offices which have different people who are responsible in different ways for the work covered in these records. It is possible for each record to have multiple people assigned to it from the same office. This requires setting the control that shows the people from each office to allow multiple values. I need to be able to create a report which will allow me to hand a list of all the records each person is responsible for in the office to the person responsible, in spite of the fact that this will mean records will show up on more than one person's report.
Before I knew that there might be multiple people in the office for each record, I created great reports grouping and ordering by this office's control and field. Now, since they allow and store multiple values, I can't use them any more. I need to be able, as I said above, to get the same effect. I think the answer lies in some sort of calculated field or formula that applies text filters. What I need to be able to do is look in the field for this office and see if a person's name is contained in the field for that particular record, regardless of who else might be in the field, too. I need to be able to use the results from this filter or calculation or formula to generate something I can use in the group and order by processes.
View 7 Replies
View Related
Mar 13, 2015
In reports, we can sort items, A to Z or Z to A.
Is there any option we could apply another sort list customized to different criteria ?
For Example, first display B, then A then C ?
View 1 Replies
View Related
Jan 21, 2015
I have a report with the fields
Firstname_
Surname_
[field1]
[field2]
etc etc (they're not called field1/2 but they're irreverent at present.
On the database people can be entered multiple times so I may have
Bob Smith
Jimmy Carter
Bob Smith
Jackson Smith
Tim Jones
Jackson Smith
Bob Holmes
Now I now with the group function I could group by the firstname_ field but the results would group like the following
Bob Smith
Bob Smith
Bob Holmes
Jackson Smith
Jackson Smith
Jimmy Carter
Tim Jones
And if I do it by surname, well I am sure you get the drift.
So how can I sort so I would get the following
Bob Smith
Bob Smith
Bob Holmes
etc etc.....
View 2 Replies
View Related
May 31, 2014
Grouping a report data starting from date 01.04.2013 to 31.03.2014 ??
View 2 Replies
View Related
Jun 29, 2006
Ok, I am a noob at reports and did a search on this. My searching DID NOT HELP ME! I thought I would make that clear :D Maybe someone can tell me what to look at for this issue.
I need to take one report, allow the users to easily use a dropdown or listbox on a form to Sort and Group many fields of data. To recap: The user will click on name in the list and it will sort report by name. Also I need them to be able to select up to three sort criterias.
EX: Sort by Name then LastName then Company
Please guide me to the answer. Thanks.
View 3 Replies
View Related
May 19, 2014
I have a BackUp and Restrore from BackUp procedure in my my database.
I can backup to a spreadsheet and the spreadsheets are renamed to include the date of the backup.
When I restore from the backup an unbound combo is populated
Code : Set SourceFolder = FSO.GetFolder("c:GPandDetectionDogTrainingLogBackUp")
This all works, the only issue being, is that I want the most recent backup to be at the top of the list, at the the moment its at the bottom.
is there a way of implementing a sort order, bearing in mind that its an unbound combobox.
View 5 Replies
View Related
Aug 2, 2005
I have a form that the user can select a report using options through 'group options'. These then open up the report using specific queries. One report many queries.
The queries are the same except for the filter criteria.
I created 1 query then copied the rest and adjusted the criteria. I am sorting on a numerical value.
All the queries sort fine in preview but not in the report except for 1.
If I copy this query and alter the filter criteria it solves the problem.
I want to know what am I missing.
All this is done using VBA.
Cheers
Gordon :confused:
View 3 Replies
View Related