Results 1 to 3 of 3
  1. #1
    SMohan is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2014
    Posts
    1

    Printing a single record results in blank page


    I have a form to record a "Complaint" of a customer. After the form is filled, a button is clicked to print a "Job Card" report.

    The problem is that the "Job Card" is Blank except the labels. If I go back to the form and go to previous record (or a new record) and then back to the one I wish to print, then the printing problem is no longer there.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    What is the code to 'print' your card that fails?

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by SMohan View Post

    ...After the form is filled, a button is clicked to print a "Job Card" report...

    ...the "Job Card" is Blank except the labels. If I go back to the form and go to previous record (or a new record) and then back to the one I wish to print, then the printing problem is no longer there...
    You're entering a New Record, but not saving it before clicking your button, hence the Record doesn't exist!

    Make the first line of your print button

    If Me.Dirty Then Me.Dirty = False

    and your problems should be over. Moving to another Record and then back forces the save, which is why it then works.

    Linq ;0)>

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

Similar Threads

  1. Replies: 1
    Last Post: 05-31-2013, 11:02 AM
  2. Replies: 1
    Last Post: 03-05-2013, 06:38 PM
  3. Printing a single record in a report
    By kelann in forum Reports
    Replies: 28
    Last Post: 10-04-2012, 10:07 AM
  4. Replies: 1
    Last Post: 08-24-2012, 08:24 AM
  5. Replies: 1
    Last Post: 06-05-2012, 04:10 PM

Tags for this Thread

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