Disappearing lines

  • Thread starter Thread starter Mike D
  • Start date Start date
M

Mike D

I'm running access '97 on Win 98SE. I have a report on which I have data
printed on one side of the page, and on tha other side of the page, lines
that I have drawn to make boxes which will be filled in by hand.

When I print preview, or print the report, the first page is perfect, but on
the second, and all subsequent pages, all of the lines in the detail section
are missing, the data is there, just not the lines. Lines that are in the
header and footer are there.
What am I doing wrong?, or is there something I can do to make this work
another way?

TIA
Mike D.
 
Mike said:
I'm running access '97 on Win 98SE. I have a report on which I have data
printed on one side of the page, and on tha other side of the page, lines
that I have drawn to make boxes which will be filled in by hand.

When I print preview, or print the report, the first page is perfect, but on
the second, and all subsequent pages, all of the lines in the detail section
are missing, the data is there, just not the lines. Lines that are in the
header and footer are there.
What am I doing wrong?, or is there something I can do to make this work
another way?


How are you "drawing" the lines?

Are you using Line controls?

If you're using VBA to draw the lines, what event of which
section is the code located?

Are the lines in a each detail or are they supposed to span
all the details?
 
Is the report a single record comprising multiple fields
or is it several records? If it is multiple records, you
could just add a rectangle (from the toolbar) to the
design for a single record, in which case the rectangle
will show up next to each record. I agree with Marshall,
who has been a great help to me on several issues, that
more information from you is needed, unless by some chance
my answer addresses your needs.
 
Marsh,

The lines were drawn using the line control in the toolbox. Some of the
lines are actually in a subreport set in th detail section, and the rest of
them are just in the detail section. There are horizontal lines which go
all the way across to the margin, and vertical lines which span the height
of the detail section.

I assumed (incorrectly?)that the lines would be on every page of the
report. How would I go about doing it in VBA?

Thanks very much for Your response,
Mike D.
 
Mike said:
The lines were drawn using the line control in the toolbox. Some of the
lines are actually in a subreport set in th detail section, and the rest of
them are just in the detail section. There are horizontal lines which go
all the way across to the margin, and vertical lines which span the height
of the detail section.

I assumed (incorrectly?)that the lines would be on every page of the
report. How would I go about doing it in VBA?


I'm still not clear on what you're doing, but it sounds like
you want the line controls to grow along with the
subreport??? If so, the problem is that vertical Line
controls do not grow (the horizontal lines should be OK, if
not in a equi-spaced grid).

The usual way to draw lines the entire height of the main
report's detail section is to use the report's Line method
in the detail section's Print event. Depending on your
situation, you may need to draw the lines in the report's
Page event (which is inoperative in a subreport). Check
Help for examples of using the Line method and post back
with more specific information if you need more assistance.
--
Marsh
MVP [MS Access]



 
Back
Top