DataReport Height

Reply

Join Date: Oct 2006
Posts: 1
Reputation: tswaters is an unknown quantity at this point 
Solved Threads: 0
tswaters tswaters is offline Offline
Newbie Poster

DataReport Height

 
0
  #1
Oct 12th, 2006
Ok, I'm having a little trouble with the DataReport Object.
It's a very simple report, showing users and their information -- but also there is one field, a Memo that is their "Comments".

When the whole report is displayed, it looks much like a table with the headers showing the fields and each row sepereated with a line, and each field on each row seperated by a line. Simple table.

So I've set the "Comments" "CanGrow" to True as the comments could fill an entire page... I certainly don't want it to cut off. So that's fine, all the comments display all the time.

The problem comes when the Comments takes more than one line. The lines between the fields on each row are only the height of a single row... To complete the table I need a way to check if the detail row has grown at all, and set all the field-level lines to it's height.

So here's my code that doesn't work... I'm not sure where to put it or how to make it look so it goes through all the rows:

Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Sections.Item("Section1").Controls.Item("Line6").Height = Sections.Item("Section1").Height
  2. Sections.Item("Section1").Controls.Item("Line5").Height = Sections.Item("Section1").Height

Any help = greatly appreciated.

Thanks !
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC