report design

  • Thread starter Thread starter hermie
  • Start date Start date
H

hermie

Hello all

I have a report with 6 columns All the fields have a border style formatted
as hairline. One of the fields have the property can grow. When I look at
the printpreview I see that the other fields are smaller then the field
which can grow. Is is possible to have all fields have same height?

any solution is welcome

herman
 
hermie said:
I have a report with 6 columns All the fields have a border style formatted
as hairline. One of the fields have the property can grow. When I look at
the printpreview I see that the other fields are smaller then the field
which can grow. Is is possible to have all fields have same height?


It's only the control's Border you want to grow and
unfortunately, that's not going to happen. You can't find
out how much it grew until the Print event, but the print
event is too late to change a control's height.

The solution is to set the control's BorderStyle to None and
use the report's Line method to draw the lines in the Print
event proecedure.

Stephen Lebans has a complete solution to this issue in his
PrintLines download at www.lebans.com
 
I have downloaded Lebans printlines but not know how to implement there are
no instructions how to do?
And what is: the report's Line method to draw the lines in the Print event
procedure?

Maybe I need to live with the fact that the specific fields not are equal in
height

Herman
 
hermie said:
I have downloaded Lebans printlines but not know how to implement there are
no instructions how to do?
And what is: the report's Line method to draw the lines in the Print event
procedure?

There are example reports and explanations in the code
module(s).

Maybe I need to live with the fact that the specific fields not are equal in
height

That's up to you, but hundreds, if not thousands, of others
have use Stephen's stuff to get their lines straight.

 
Hello Marshall

You said: but hundreds, if not thousands, of others
have use Stephen's stuff to get their lines straight.

I copied the modules in my report now and shows many lines, means it works,
only I see vertical lines which I not want, I want only border lines in my
textboxes in the detail area.
My knowledge of VB is basic, I tried to analyze the sample reports but
cannot detect any settings of a specific area (all fields have lines!, I see
no reference to textboxes etc. The sample report also shows vertical lines
of which I think it is not necesarry, may be it is implemented to show it
can produce vertical lines. For me it is too complicated to adjust the
modules for my preferences.

BTW for the Lebans calendar control there is an excellent procedure how to
install it. Hope some MVP can do this for the printlines

Herman
 
Back
Top