A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Two Column Report



 
 
Thread Tools Display Modes
  #1  
Old July 29th, 2009, 01:46 AM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
Steve[_72_]
external usenet poster
 
Posts: 190
Default Two Column Report

How can can code be run for each row in a two column report? For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc

Thanks!

Steve


  #2  
Old July 29th, 2009, 02:27 AM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
John... Visio MVP
external usenet poster
 
Posts: 900
Default Two Column Report

"Steve" help_available_at_very_reasonable_rates@contactme .com wrote in
message m...
How can can code be run for each row in a two column report? For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc

Thanks!

Steve


I have no idea what you are talking about, but I can create you a database
to do it for a reasonable fee.

Your description does not make sense.
1 - "code be run for each row"?
2 - two column report - but no mention of columns

or do you mean:
That all even records are in column A and all odd records are in column B.
If the number of records are odd, then nothing is in column B of the last
row.

Column A Column B
Record 1 Record 2
Record 3 Record 4
Record 5 Record 6
Record 7

John... Visio MVP

  #3  
Old July 29th, 2009, 03:34 AM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
Keven Denen
external usenet poster
 
Posts: 123
Default Two Column Report

On Jul 28, 7:27*pm, "John... Visio MVP"
wrote:
"Steve" help_available_at_very_reasonable_ra...@contactme .com wrote in
messagenews:rpWdncHZ1uB1BvLXnZ2dnUVZ_radnZ2d@earth link.com...

How can can code be run for each row in a two column report? For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc


Thanks!


Steve


I have no idea what you are talking about, but I can create you a database
to do it for a reasonable fee.

Your description does not make sense.
1 - "code be run for each row"?
2 - two column report - but no mention of columns

or do you mean:
That all even records are in column A and all odd records are in column B..
If the number of records are odd, then nothing is in column B of the last
row.

Column A * *Column B
Record 1 * * Record 2
Record 3 * * Record 4
Record 5 * * Record 6
Record 7

John... Visio MVP


Ya, if you are willing to pay a small fee for my time and knowledge,
I'm sure I could create a database for you to do what you want Stevie.
John's will probably be better, but mine will cost less.
  #4  
Old July 29th, 2009, 09:04 AM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
Keith Wilby
external usenet poster
 
Posts: 812
Default Two Column Report

"Steve" wrote in message
m...
How can can code be run for each row in a two column report?


Can-can? Is this for the Moulin Rouge?

For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc


You sound like a clueless newbie. We can't see you screen and we don't have
a copy of your file so what you've written is meaningless.

  #5  
Old July 29th, 2009, 09:40 PM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
James A. Fortune[_2_]
external usenet poster
 
Posts: 10
Default Two Column Report

On Jul 28, 8:46 pm, "Steve"
help_available_at_very_reasonable_ra...@contactme .com wrote:
How can can code be run for each row in a two column report? For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc


tblIntegers
ID AS AutoNumber
N AS String
ID N
1 1
2 2
3 3
4 4
5 5
6 etc

qryGetResults:
SELECT IIf(N="etc","etc",CStr(N) & " record" & IIf(N"1","s") & " = "
& CStr((N+1)\2) & " row" & IIf(CInt(N) = 3, "s", "")) AS Result FROM
tblIntegers;

!qryGetResults:
Result
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc


Thanks!

Steve


You're welcome. No charge.

James A. Fortune

  #6  
Old July 29th, 2009, 10:21 PM posted to comp.databases.ms-access,microsoft.public.access,microsoft.public.access.reports
Larry Linson
external usenet poster
 
Posts: 3,112
Default Two Column Report

You can run code for each record / detail section by putting it in the
Format or Print event of the Detail Section. There are no events applying to
a "row" in a two column report. Only if you chose "Across Then Down" would
there even, necessarily, be a concept of a "row".

Larry Linson
Microsoft Office Access MVP

"Steve" help_available_at_very_reasonable_rates@contactme .com wrote in
message m...
How can can code be run for each row in a two column report? For example,
1 record = 1 row
2 records = 1 row
3 records = 2 rows
4 records = 2 rows
5 records = 3 rows
etc

Thanks!

Steve





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.