fixed report with number of row in report details (1 Viewer)

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
hi

I need to make fixed row for report if no data in text report this row show empty

if page 1 shown 15 record only

and data show in report 13 than the 2 row in report empty


as attached example

page 1 of report is continue from 18 record
i need fixed row in report for all page in report to be 18 record
and in page 2 it show 6 records
i need 12 row in this page empty with same formatting table
 

Attachments

  • ex.accdb
    644 KB · Views: 273

Cronk

Registered User.
Local time
Today, 11:18
Joined
Jul 4, 2013
Messages
2,772
Can you clarify?

If the report is giving up to 15 records, you want the records to be displayed on page 1 with blank records shown for any record number less than 15 eg 9 records will have 6 blank records following

If the report has more than 15 records, you want page 1 to display 18 records with any page having less than 18, being filled with blank records to make up 18 lines on each page.
 

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
Can you clarify?

If the report is giving up to 15 records, you want the records to be displayed on page 1 with blank records shown for any record number less than 15 eg 9 records will have 6 blank records following

If the report has more than 15 records, you want page 1 to display 18 records with any page having less than 18, being filled with blank records to make up 18 lines on each page.
exactly what i want
 

Gasman

Enthusiastic Amateur
Local time
Today, 02:18
Joined
Sep 21, 2011
Messages
14,265
Can you clarify?

If the report is giving up to 15 records, you want the records to be displayed on page 1 with blank records shown for any record number less than 15 eg 9 records will have 6 blank records following

If the report has more than 15 records, you want page 1 to display 18 records with any page having less than 18, being filled with blank records to make up 18 lines on each page.
Well I am impressed you understood that.
 

CJ_London

Super Moderator
Staff member
Local time
Today, 02:18
Joined
Feb 19, 2013
Messages
16,607
Your description is not at all clear as to the requirement but adjusting the height of the page footer to 8.619cm would appear to do what you want - 15 rows on the first page 18 on the subseqent ones
 

Attachments

  • ex.accdb
    644 KB · Views: 249

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
many thanks cj_london

but i want when i open report

the count of record if page fully data is 18 record ( or any count of row to fill the page )

and when the page details of report have only 2 record ---- i need to fill the page with same format of table designed in report but blank data ( empty )
 

Attachments

  • ex.jpg
    ex.jpg
    28.4 KB · Views: 248
Last edited:

CJ_London

Super Moderator
Staff member
Local time
Today, 02:18
Joined
Feb 19, 2013
Messages
16,607
So not 15 rows on the first page?

Suggest take a look at this link - I thing it provides what you require
 

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
So not 15 rows on the first page?

Suggest take a look at this link - I thing it provides what you require
if data complete in the first page will be 15

the record no. 16 will be in second page

the link is what I need

thanks
regards
 

SHANEMAC51

Active member
Local time
Today, 04:18
Joined
Jan 28, 2022
Messages
310
I need to make fixed row for report if no data in text report this row show empty

if page 1 shown 15 record only

and data show in report 13 than the 2 row in report empty
with the help of me.NextRecord received
2022-02-20_13-25-33.png
 

CJ_London

Super Moderator
Staff member
Local time
Today, 02:18
Joined
Feb 19, 2013
Messages
16,607
@SHANEMAC51 - if you are going to offer a solution, please be clear what it is you are offering - how does 'help of me.NextRecord received' help the OP? Where are you putting the code? what triggers it?
 

SHANEMAC51

Active member
Local time
Today, 04:18
Joined
Jan 28, 2022
Messages
310
@SHANEMAC51 - if you are going to offer a solution, please be clear what it is you are offering - how does 'help of me.NextRecord received' help the OP? Where are you putting the code? what triggers it?
example of the database - code in the report module + a service line is added to the request (it did not work without it)
 

Attachments

  • ex220220mm.accdb
    864 KB · Views: 266

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 09:18
Joined
May 7, 2009
Messages
19,231
on thi report there are 29 lines for a full page.
i added tableZZ (with same structure as your company_code table).
the code on the form will only run on Print Preview view.
view the report in print preview.
 

Attachments

  • ex (1).accdb
    960 KB · Views: 264

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
you are genius

thanks a lot arnelgp

but why design the same structure in table zz and count of record will effect in data in this table
 

hatmak

Registered User.
Local time
Yesterday, 18:18
Joined
Jan 17, 2015
Messages
121
when I deleted SOME OF RECORDS

the remaining row show numbers as attached
 

Attachments

  • ex (1).accdb
    960 KB · Views: 180

SHANEMAC51

Active member
Local time
Today, 04:18
Joined
Jan 28, 2022
Messages
310
on thi report there are 29 lines for a full page.
I was interested in the option with several groups of records, for example, in the context of customer groups, and the name field - expandable
almost turned out - only the extra last sheet
 

Attachments

  • Screenshot_3.png
    Screenshot_3.png
    50.1 KB · Views: 257

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 09:18
Joined
May 7, 2009
Messages
19,231
the remaining row show numbers as attached
do you mean if the number of records is less than the number of lines in
a report, do not add blank lines?
 

Attachments

  • ex (1).accdb
    960 KB · Views: 219

Users who are viewing this thread

Top Bottom