ANTHONY CHRISTI
asked on
Expanding all fields using can grow when printing
Three Fields. Question #; Question ID and Question.
The Question can grow = Yes. How can I have the other 2 fields expand when the Question Field expands. Right now I am getting gaps in the print alignment, The height of the question is larger than the other 2 fields. Thank you.
The Question can grow = Yes. How can I have the other 2 fields expand when the Question Field expands. Right now I am getting gaps in the print alignment, The height of the question is larger than the other 2 fields. Thank you.
Can you post a screen shot? Maybe of what you are getting, and what you would like to get.
You can get the height of the expanded control in the Detail_Print event, and make the other controls the same height. Here is some code that makes a green line the same height as an expanded control:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Dim sngTop As Single
Dim sngLeft As Single
Dim sngHeight As Single
Dim sngBottom As Single
sngTop = Me![txtNotes].Top
sngHeight = Me![txtNotes].Height
sngLeft = 2300
sngBottom = sngTop + Me![txtNotes].Height
Me.DrawStyle = 6
Me.DrawWidth = 12
Me.Line (sngLeft, sngTop)-(sngLeft, _
sngBottom), RGB(0, 255, 0)
End Sub
ASKER
I have attached a sample report. I want all fields to be the same Height as the Question
Missed attachment
ASKER
I am attaching a file for review
Test.pdf
Test.pdf
ASKER
Did anyone get a chance to review and solve my problem?
Can you post your report in a db?
ASKER
A copy of the DB is attached. Trying to align all field to same size if question which is Can Grow is expanded.
Copy-for-Experts.accdb
Copy-for-Experts.accdb
I have been working on this. Thought it would be simpler. Hope this is not something needing quick resolution.
ASKER
OK, thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I understand your answer to my question and it makes sense. I have decided not to persue and accept the way it is currectly printed. Thanks