Jump to content

Strange pdf formatting issue


RicKaufman

Recommended Posts

Hi folks,

I am having a strange issue with a pdf report.

A field in my report is putting the last letter of the word on a different line, but only for one word, and only when it's PDF.

The data in the field either equals "BEACON-NHP" or "MBHP".  When I preview the report, this field shows up correctly.  However, when I run the report and it creates the PDF file, this field shows either:

BEACON-NHP

or

MBH

P

with the "P" on a new line.

The field is clearly big enough, as "BEACON-NHP" is longer than "MBHP".

Can anyone tell me why it is doing this and how to fix it?

Thanks,

Rick

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Here is some further infomration:

The data in the field in question is coming directly from the SQL database.  Here is the data:

mysql> select insName from ReportT
+------------+
| insName    |
+------------+
| MBHP       |
| MBHP       |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| MBHP       |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| BEACON-BMC |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| BEACON-BMC |
| BEACON-NHP |
| BEACON-BMC |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| BEACON-BMC |
| MBHP       |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| BEACON-BMC |
| BEACON-NHP |
| BEACON-BMC |
| MBHP       |
| MBHP       |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| MBHP       |
| BEACON-NHP |
| BEACON-NHP |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
| MBHP       |
+------------+
61 rows in set (0.04 sec)
 

Link to comment
Share on other sites

Here's some more information.

I set it up so it sets the data to change the last letter each time through. So the data is:

MBHA

MBHB

MBHC

MBHD

etc.

The results are that for most of the letters, it puts the final letter on the next line, but for a few of them it doesn't.  For example, 'L', 'I', and 'J' all show up properly, with al 4 letters on the same line, but most of the rest of the letters put the 4th letter on a new line.  Please see the attached screen shot.

Thanks!

Rick

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...