Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expanding Line Height in a Data Grid, is it possible?

Status
Not open for further replies.

akabatman2

Programmer
Feb 25, 2003
102
US
Hello all,

I was wondering if anyone knows how to make the lines of a grid expand to accomodate for a data field that is set to "Can Grow"?

For instance, set up nice lines in the detail section that form a cell around the text.(Not putting borders around the field, but drawing actual lines).

Now, as long as you have one line of text, the lines print nicely in a excel like grid form. If one of your cells is set to can grow, all of the sudden, the lines won't expand past their report section, but the data field does, this causes space between the veritcal grid lines and the horizontal lines.

Forgive the rough example, but we can't copy graphics into this thread that I know of:

This example would print text within the drawn lines:
-----------------------------
| some data |
-----------------------------

This example pushed down a line because the text has expanded because it is set to can grow, leaving white space between the text and the closing horizontal line:

----------------------------
| some data |
| and some more |
____________________________

The customer wants the lines of text that fit on one line to have smaller lines than the ones that have double lines of text, to save paper. So, making all the fields double size won't do.

Any ingenious ideas?

Thanks in advance,

Tom
 
Try the following:

Insert 2 more Detail sections below the current detail section.

Drag one of the new ones above the current one (so that the real detail section is bewteen them).

Set the line to span all 3.

Suppress the top & bottom (dummy) detail sections leaving only the "real" one for the actual display.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Ido,

Thank you so much for responding. That worked out great!

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top