Possible to 'wrap' lines?
In a previous character based reporting system we were able to 'wrap' lines
on the page to get additional information to print as tho it were all on one
line.
Can you think of any way to emulate this behaviour using RB?
Thanks.
RB 12.04 Server / Delphi 2007 / Oracle 10G
on the page to get additional information to print as tho it were all on one
line.
Can you think of any way to emulate this behaviour using RB?
Thanks.
RB 12.04 Server / Delphi 2007 / Oracle 10G
This discussion has been closed.
Comments
I'm a bit unclear about your requirement. Wrapping a line of text so it
prints as one line of text seems like a contradiction.
Could you explain this in a different way perhaps or show me what you
are trying to accomplish?
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
For example if you had an infinitely wide sheet of paper you might have 25
columns on it like this:
AMT1 AMT2 AMT3 AMT4 AMT5 .... AMT25
If the paper itself can only accomodate 15 columns what we did in the past
was to wrap the lines and offset it to make it more readable:
AMT1 AMT2 AMT3 AMT4 AMT5 .... AMT15
AMT16 AMT17 AMT18 AMT19 AMT20 ... AMT25
This was an easy task in a character based reporting system - just by
inserting a CRLF and a couple of spaces gave us the desired results.
I have experimented with RB and haven't stumbled on a way to do it.
Thanks.
Thanks for the explanation.
Where do the values AMT1, AMT2, etc. come from?
Are they actual field values traversing left to right (with a single DB
field being used) or are they static column headings that will have
field values under them?
Or will you need to dynamically create them based on how many you have?
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Right now I'm using static column headings and fields and making them
visible as needed. So a single report could have a hundred pages, each with
varying numbers of columns visible on the page. So it appears to the user
they are dynamically created but in reality they are static.
One suggestion that came in was to make a two page wide report, much like
you can do in MS Excel. Can reportbuilder do this?
Thanks.
Thanks again. Depending on how the rest of your report is designed, it
may be possible to get the staggered column look using left to right
columns (perhaps in a separate subreport).
Before exploring that option, I suggest taking a look at the following
article on how to create a spreadsheet style report (with the design you
mention at the bottom of your last post). This will allow you to move
the the next page if the columns do not fit on the first.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/How_To...Create_a_Spread_Sheet_Style_Report
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com