Results 1 to 11 of 11
  1. #1
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7

    Report printing unknown blank lines.

    Hi!


    I have a report that has one field in Details section, it's a text box that prints out fields in a table.

    The field is called add, and is a memo (rich edit).
    This field usualy contains one or two sentences of add's for newspapers that i write for my firm.

    I need the text box to automaticaly expand verticaly if the content is 2 large.
    So i set the "Can grow" option, but a problem arises, i get like 3 normaly printed ads, and then blank line.. Like the following:

    Code:
    This is add number 1, prints ok.
    
    This is add number 2, prints ok.
    
    This is add number 3, prints ok.
    
    
    This is add number 4, does not print ok, 2 blank lines in between.
    
    
    This is add number 5, does not print ok, 2 blank lines in between.
    
    
    And so on...
    What is the problem? When i deactivate "Can grow", problem disapears, but then i can't see all my add's since some are too big to fit??

    How can i fix this?? Please help, it's urgent!!!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you set the Detail Section to CanGrow as well? The next step would be to post the db so we can look at it.

  3. #3
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7
    Yes, i set it to Can Grow, and can Shrink.

    My Database is:

    Table -> Appartments

    Rows: ID(autoincrement), IDMyN(text-my personal ref), ADD(memo, rich text)

    This would be my example add:

    Somewhere, house, 100m2, with 2000m2 garden, beautiful view of the sea,
    500.000€. Tel. 000/000-0000. Agency Name.

    I have 4 add's now since i'm testing if this database is working, but usually i would have like 270 adds like this, that's why it's not good to have that lines when i would send them to newspapers...

    Can u help?

  4. #4
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7
    Ok, i think i found the problem, it has something to do with the rich text option in the memo, when i turn this off, and set the field to just normal text, problem dispears??

    Can i resolve this or do i have to use HTML tags manualy, and set the text box of the report to rich text??

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You could try that but I'm not sure you will find a solution that wat. You may need to use a subform in continuous form mode and put your ad's in separate records.

  6. #6
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7
    Ok, i solved the problem.

    When i put the memo field on rich text, i got the empty lines, but when i returned it to plain text, problem disappears.

    I then inserted a textbox into my form for add entry and changed it to rich text, so when i enter the adds, i can still bold them and everything, they get stored in db along with html tags, but display properly in my report.

    Only down side is that i have to use PDF to get the output to a file right, since in word i don't see text bolded..

    Does someone know how to add a button to export to PDF?
    And can i even add a button to export to a file and send to email??

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I've had good success with Stephan Lebals code.

  8. #8
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7
    Ok, i succeeded in exporting to PDF.

    One more question, i tryed to export to RTF, but no formatting was present, my bold words are gone.. Is it possible to convert to DOC (Word) format and preserve formatting??

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you looked at these links yet?

  10. #10
    dgrzalja is offline Novice
    Windows 7 Access 2007
    Join Date
    Oct 2009
    Posts
    7
    I dont get it, how to incorporate export to DOC format in my project with that?
    It exports, but just images, i can't edit text!?

  11. #11
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I guess I just can't help you there. Maybe someone else will have a suggestion.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Multiple lines per record: Report?
    By cjbuechler in forum Queries
    Replies: 7
    Last Post: 07-30-2009, 08:32 AM
  2. Report Printing Error
    By gjohnson71 in forum Reports
    Replies: 4
    Last Post: 03-07-2009, 12:36 PM
  3. Replies: 3
    Last Post: 10-23-2008, 08:43 AM
  4. Duplicating lines in an invoice report
    By GordonEdinburgh in forum Forms
    Replies: 0
    Last Post: 04-21-2007, 12:20 PM
  5. report prints blank page at end of report
    By darrellx in forum Forms
    Replies: 0
    Last Post: 03-14-2006, 08:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums