Hi ;
Can i do a report contain 4 columns . like ( name- seat no – name – seat no )
Ashraf
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Report (2k)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Report (2k)
- This topic has 27 replies, 5 voices, and was last updated 20 years, 6 months ago.
AuthorTopicViewing 1 reply threadAuthorReplies-
WSpatt
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSHansV
AskWoody LoungerOctober 27, 2004 at 4:15 pm #1815859See attached version. To create the report, I did the following:
- Click New in the Reports section of the database window.
- Select the StudentsInfo table and click the “AutoReport: Tabular” option, then click OK.
- This creates a report with one column.
- Select File | Page Setup…
- Activate the Columns tab.
- Enter 2 in the “Number of Columns” box.
- Enter 11.9 cm in the “Width” box.
- Click OK.
- You now have a report with two columns, but no header for the second column.
- Switch to design view.
- Copy the labels and line in the page header, then paste them and move them to the right. They should start at about 12.7 cm.
- Switch to print preview to test.
You can further modify the design to suit your purposes.
-
WSashrafk
AskWoody Lounger -
WSFrancois
AskWoody LoungerOctober 27, 2004 at 11:29 pm #1815892I think this is what you want, see report rptcolumns in the attachment.
The report is sorted on Sex (descending) and Name.
After every 50 names, it will go to a new page. I use a pagebreak control that i make visible or not. See code in the on format of the detail section.
There is a header section for Sex, just to go to a new page when the female begin. If you don’t want this, go to the grouping and sorting window and set the group header property for the sex group to No.I had to create a new report as the ones you have, with the arabic characters didn’t work very well on my european configured pc. I hope you can read my report.
-
WSashrafk
AskWoody LoungerOctober 28, 2004 at 1:52 am #1815894Thanks Francois , but that not i want . see my report called Rpt1 u will found that contract no 1 contain 2 male (ali- mohamed ) and 2 female ( hesa and sona ) i want them also in the same bus , as i wrote in the word file , i mean ali and mohamed in the seat 1 and 2 of the bus . ok ( hesa and sona ) in the same bus but not beside them in the back of the bus , all the 50 person like that .
i hope u also understand me
Ashraf -
WSFrancois
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSFrancois
AskWoody LoungerOctober 28, 2004 at 4:17 am #1815901 -
WSashrafk
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSFrancois
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WSFrancois
AskWoody LoungerOctober 30, 2004 at 2:13 am #1815937Sorry Ashraf, but the friday is a day that a can’t spent many time on the lounge and yesterday I try different things to get the sorting in the report itself without result. As I was driving today, the idea came up.
I add a new field in the query, if the sex is male, I use ContractID, but if the sex is female, the I use 1000-ContractID so the field is
SortContracrID: IIf([sex]=”male”;[contractid];1000-[contractid])
Then in the report I use in the Sort and Grouping window SortContractID and third sorting argument.
Here is the modified db.PS if you have more then 1000 different ContractID in the production db you’ll have to increase the 1000 in the query as this number has to be greater then the greatest ContractID
-
WSashrafk
AskWoody Lounger -
WSashrafk
AskWoody LoungerOctober 30, 2004 at 1:11 pm #1815940 -
WSFrancois
AskWoody LoungerOctober 30, 2004 at 7:53 pm #1815942You’re making it hard. What will be your next question ?
In this version the busses may not be full with 50 people. I hope that’s OK.
I have to change the strategy, because I didn’t find a manner to do it in the query.
I added a field in tbl1 named Busnr.
In the query I delete the fields to calculate the bus nr.
In the on open event of the report, I call the sub FillBus (in Module1) to populate the field Busnr in the table.
Can you test it and let me know if it is working for you ? -
WSashrafk
AskWoody LoungerOctober 30, 2004 at 9:49 pm #1815943iam so sorry , i know that i tird u with me and also may be iam not explant good to u .
u say : In this version the busses may not be full with 50 people; yes u r right . i try to explan what i understand from the manager . as u see that evry contract contain at least 2 person ( male or female ) so we want to avoide that one contract is seprated male in bus and female in other bus or inverse . so the bus may be 46 or 48 or 50 not more 50 person .
i hope that u understand me .
Ashraf -
WSFrancois
AskWoody Lounger -
WSashrafk
AskWoody Lounger
-
-
-
-
WSFrancois
AskWoody LoungerOctober 31, 2004 at 2:04 am #1815946My philosophy of the lounge is that I help so long I can. If I can’t help any more, I will tell it and I’m sure some one else will step in. So if there are still problems with the report, I ask you to tell it. It’s not because I need a new brain to not forget to attach the file that I’m unable to search on your problem.
-
WSashrafk
AskWoody Lounger -
WSashrafk
AskWoody Lounger -
WScharlotte
AskWoody Lounger
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
17 hours, 1 minute ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
14 hours, 21 minutes ago -
Small desktops
by
Susan Bradley
7 hours, 14 minutes ago -
Totally disable Bitlocker
by
CWBillow
15 hours, 22 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
14 hours, 38 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
1 day, 20 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
4 hours, 7 minutes ago -
Mystical Desktop
by
CWBillow
2 days ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
1 day, 5 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
16 hours, 11 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
2 days, 15 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
2 days, 18 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
2 days, 16 hours ago -
What is wrong with simple approach?
by
WSSpoke36
14 hours, 29 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
3 days, 3 hours ago -
Location, location, location
by
Susan Bradley
1 day, 18 hours ago -
Cannot get a task to run a restore point
by
CWBillow
3 days, 5 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
2 days, 19 hours ago -
June 2025 Office non-Security Updates
by
PKCano
3 days, 16 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
1 day, 18 hours ago -
Firefox Red Panda Fun Stuff
by
Lars220
3 days, 15 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
4 days, 2 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
3 days, 5 hours ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
4 days, 11 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
4 days, 11 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
4 days ago -
Firefox 139
by
Charlie
3 days, 17 hours ago -
Who knows what?
by
Will Fastie
2 days, 19 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
22 hours, 17 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
8 hours, 11 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.