Solved Line Breaks on Field change (1 Viewer)

Charlie3

New member
Local time
Today, 16:23
Joined
Sep 19, 2022
Messages
24
Thanks, much appreciated. It's too big to send, let me get rid of unnecessary stuff in the DB and try again. I'll be back at my desk tonight and look at it then.
 

Charlie3

New member
Local time
Today, 16:23
Joined
Sep 19, 2022
Messages
24
Hi arnelgp.

The DB is attached. The only changes from what you last provided are that unneeded tables have been deleted and duplicate rows have been eliminated from the cmx table.

In your update, would it be possible to also increase the number of issues per row from 7 to 10, and to eliminate one of the blank rows between titles?

BTW, I spent some time with your code last night. It's been a long time since I've coded, but I follow what you've done. Your code is elegant and cool, kudos.

Thanks,
Charlie
 

Attachments

  • Comics 9-21-22 0716.accdb
    6.5 MB · Views: 74

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 04:23
Joined
May 7, 2009
Messages
19,245
here is check and try your report.
 

Attachments

  • Comics 9-21-22 0716.accdb
    1.4 MB · Views: 70

Gasman

Enthusiastic Amateur
Local time
Today, 21:23
Joined
Sep 21, 2011
Messages
14,317
Hi arnelgp.

The DB is attached. The only changes from what you last provided are that unneeded tables have been deleted and duplicate rows have been eliminated from the cmx table.

In your update, would it be possible to also increase the number of issues per row from 7 to 10, and to eliminate one of the blank rows between titles?

BTW, I spent some time with your code last night. It's been a long time since I've coded, but I follow what you've done. Your code is elegant and cool, kudos.

Thanks,
Charlie
I've already shown you how to change the number per row? :(
You have to be prepared to do some of the work yourself, else you will learn absolutely nothing. :(
 

Charlie3

New member
Local time
Today, 16:23
Joined
Sep 19, 2022
Messages
24
Wow arnelgp, this is great, thank you !

Gasman, understood.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 16:23
Joined
Feb 19, 2002
Messages
43,297
Have you tried using a subform set to display multiple columns? You have to set the column width to accommodate the widest Issue number value.
 

spaLOGICng

Member
Local time
Today, 13:23
Joined
Jul 27, 2012
Messages
127
Hi.

I'm making a report for a comic book collection using only two fields, title (the title of the series of the comic book, i.e. Avengers) and issue (i.e., 1, 2, 3, etc, - the issue number of the comic book within the series title) .

I would like to display the title, skip a line, then show all of the issue numbers in rows (across then down).

When the issues within a title are all displayed, I would like to skip a line, print the next title, skip another line and then print all of the issues within that title, across and then down, and then keep going like that until there are no more titles.

Sample:

Avengers

103 108 121 134 154 155 156
162 167 184 189 190 191 202
206 209 211 212

Fantastic Four

111 113 114 115 117 120 121
122 123 127 129 130 134 135
137

X-Men

109 115 117 118 119 125 125
127 128 129

I'm using Access 2007

I tried using page setup/columns. That prints everything out in rows including the title.

In a nutshell, I haven't been able to get blank lines displayed around the title when it changes, the title field is mixed into columns with the issue numbers.

I've tried searching online and in the doc but haven't found an answer.

Thanks for any help you can provide.

Charlie
Hi Charlie,

You want an Parent Report Sub Report arrangement.

The Parent Report will have your Titles., placed in the Detail Section

Your Sub Report will have the Series. you will add Group to the Report for the Comic Book ID, and set the Header Visible Property to false.

Next you will add the Series to Left Top Most position in the Detail Section, then go to then Page Setup Tab on the Ribbon and click the Columns Button. Change the Number of Columns to what ever you like, I have set it to three. This should answer your question.



1664130029676.png


1664129786505.png
 

Charlie3

New member
Local time
Today, 16:23
Joined
Sep 19, 2022
Messages
24
Hi All. Thanks very much for your input. This request has been resolved, arnelgp helped me set up a report and sub-report that gives me exactly what I need. Best to all, this was a great experience. - Charlie
 

Users who are viewing this thread

Top Bottom