For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > April 2005 > Drawing Tables with CR XI









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Drawing Tables with CR XI
Stijn Buys

2005-04-28, 8:59 am

I'm working on a VB6 applications which uses the
Crystal Reports XI RDC API to create a report at runtime.

I have a database-table
SOME_TABLE(
date Datetime,
memo Text,
name varchar(50)
)

I am trying to visualize this data in a "tabular structure"
(think of it as an html <TABLE> ... </TABLE> )

The "memo" field contains RTF-data.
The report consists of a single details section containing the 3 fields,
I'm drawing

The problem is that
the "memo" field has the canGrow property set and
the final result looks misalligned.

I get something like this: (forgive my poor ASCII-art representation)

+--------------+-------------------------------------------------------+---
--------------+
| Date | Some RTF text.. |
name |
+--------------+
+-----------------+
| Some more text
|
+--------------+-------------------------------------------------------+---
--------------+
| Date 2 | Even more text |
name 2 |
+--------------+ It keeps running and running...
+----------------+
+-------------------------------------------------------
+

What I want is something like this:
+--------------+-------------------------------------------------------+---
--------------+
| Date | Some RTF text.. |
name |
| |
| |
| | Some more text
| |
+--------------+-------------------------------------------------------+---
--------------+
| Date 2 | Even more text |
name 2 |
| | It keeps running and running... |
|
+-------------+-------------------------------------------------------+---
--------------+

I can't seem to find a way to force the "Date" and "Name" fields
to have the same height as the "Memo" field.

Any suggestions?


Stijn Buys
info@softwel.be



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com