473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

columns in reports

I have a report that gives the classroom and then a list of students in it
for a particular week.

Thats fine if I want just one column with its associated rows of students.

I have been asked to produce it so that it gives multiple columns of five
rows. so:

Classroom xxx

Student id 1 StudentID 6
Student id 2 Student id 7
Student id 3 Student id 8
Student id 4 Student id 9
Student id 5 Student id 10
The amount of students will vary so could have more columns of five.

Cannot think how to do this looked at a columnised report but that didnt
seem to work. I thought perhaps creating queries in small subreports that
give the first five and then so on but not sure if that will work or if
there is a simpler way. perhaps in VB.

Regards in advance
Peter
Nov 13 '05 #1
1 1488
The best I can think of off-hand would be to group on the Classroom, placing
it in a group header. Place the students in the detail section with as many
columns as desired. Set the columns to go "across then down". It will give
as many rows as needed, depending on the number of students in the classroom
and the number of columns (i.e. 10 students, 2 columns will generate 5
rows). In the Page Setup dialog, uncheck the box in the Columns setup for
the column being the same size as the detail. For two columns, it will be
about 1/2 the size of the detail, depending on the Column Spacing [(column
width * number of columns) + (column spacing * (number of columns - 1))
should be the same as the detail's (report's) width].

--
Wayne Morgan
MS Access MVP
"Peter Bailey" <pe*********@andaluz.fsbusiness.co.uk> wrote in message
news:cf**********@newsg3.svr.pol.co.uk...
I have a report that gives the classroom and then a list of students in it
for a particular week.

Thats fine if I want just one column with its associated rows of students.

I have been asked to produce it so that it gives multiple columns of five
rows. so:

Classroom xxx

Student id 1 StudentID 6
Student id 2 Student id 7
Student id 3 Student id 8
Student id 4 Student id 9
Student id 5 Student id 10
The amount of students will vary so could have more columns of five.

Cannot think how to do this looked at a columnised report but that didnt
seem to work. I thought perhaps creating queries in small subreports that
give the first five and then so on but not sure if that will work or if
there is a simpler way. perhaps in VB.

Regards in advance
Peter

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

32
by: Rich | last post by:
I'm sure it sounds kinda nutty to display 200 columns and 500,000 rows of data. But I have been pulling data from a Lotus Notes database into Sql Server for a while now, but Lotus Notes is...
3
by: Jane | last post by:
Hi, If anyone could help me with this, I greatly appreciate it. I would like to know how I can display data from a db in multiple columns rather than have it displayed in 1 column per recordset....
13
by: scorpion53061 | last post by:
Very urgent and I am very close but need a little help to get me over the edge........ I need to write these columns to a html file with each row containing these columns (seperated by breaks)....
2
by: ghat12 | last post by:
Hi, I am trying to print a subform containing approx 50 columns in datasheet view. The printout cannot fit more than 8-10 columns. Does anyone know of any way to print all columns; i don't care...
0
by: Abhishek Rodrigues | last post by:
Hi All, I am trying to create a report which has dynamic columns. i.e. the columns will be known only at the run time. How do I add the columns at the runtime in Crystal reports. Apart from...
1
by: jeremy gibson | last post by:
Our application allows the customer to change the on-screen field names to his personal requirements (eg Target = 2008 Target). My customer wants his on-screen field names to be reflected the...
3
by: Niranjan | last post by:
I want create a report based on the crosstab query which normally returns about 50 - 60 columns. The columns have names of the counties and they keep changing for every session. Is there a way to...
1
by: bobh | last post by:
Hi All, Has anyone come across or have code where a user can select what data fields they want(lets say from a multi-select list box) and have them be the columns in a report. thanks bobh.
8
by: Paul H | last post by:
I want to base a form on a crosstab query. The query shows statistics for a user defined period. The column headings will look something like this: ClientID Month01 Month02 Month03 etc.. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.