1 Attachment(s)
How to Force a specified number of of rows in detail section.
Forcing a specified number of of rows in detail section.
I am using DATA Report Designer as a reporting tool with VB 6.0. I am
reproducing an official form that will be filled with data from a
database.
For this particular form I need the boxes and labels in the details
section to print 20 times per page regardless of the number of records
in the report data.
I have been unable to achieve this result on leaving the rest of the
page blank when no more records exist. I don't see any option to force
a specific number of detail lines or to fill the
page space with detail lines so any suggestions would be appreciated.
I need it to print only 20 lines of records (or blank line spaces) in
the Detail Section of the report even when there are LESS / MORE
records in the database.
For example,
If the query returns 4 records,
which causes the detail section to be reproduced 4 times, I then need
to
reproduce the graphic and text objects in the detail section 16 more
times but without any data...
If the query returns more than 20 records,
which causes the detail section to show 20 records per page.
Anyone? Plz help me to solve this issue.
For further clarification feel free to mail me.
NOTE : plz see the attachment for source code & what i'm expecting.
thanks in advance.
Re: How to Force a specified number of of rows in detail section.
The DataReport is pretty limited.
I think the only way would be to loop through your data source before showing the report and manually add the required number of "blank" records.
Re: How to Force a specified number of of rows in detail section.
hello frnd thnks for ur reply...
can u give me little more explanation
possibly with code.
thanks in advance.