473,666 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1498
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*********@an daluz.fsbusines s.co.uk> wrote in message
news:cf******** **@newsg3.svr.p ol.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
4143
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 starting to crack, columns getting corrupted. Can't handle the volume of data and number of columns. Sql Server has no problem. But displaying the data is the big deal. The end users want to be able to scroll acros a page to the colum of their...
3
2642
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. Here is a twist...besides doing this, I would also like to have it paginate and be able to control how many records gets displayed per page in multiple columns. Thank y'all in advance!!!
13
2481
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). Currently this code write all columns to a single row which works but is not what the boss wants. If anyone has suggestions how you would do a report like this I very much would like to hear them as well. vb.net windows app. ...
2
4256
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 if the printout spans multiple pages. FYI, the records displayed in the sub-form are dynamically obtained based on some ad-hoc querying in the main form. Any report, etc. generated will have to have the same set of records.
0
1669
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 Cross Tab is there any other solution for creating the dynamic columns.
1
1001
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 metadata view so he can write reports with his change field names. We have several customers with this application so the field names will change by customer. How do you do this, can SQL/Server support 2 field names - the original and a preferred display...
3
3488
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 program a dynamic multi-page crosstab report?
1
3152
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
5908
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.. So if the user selects 3 months in the criteria form, there will be 3 (month) column headings, if he selects 6 months, the will be 6 headings.
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8352
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8863
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8780
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7378
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6189
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.