MS Access Report Display only 1 record

Posted on 2014-08-10
Last Modified: 2014-08-18
When working with Access Reports, I only want the report to display the current (latest) record I was working on.

On the attached database, let's assume the last Table Input I made was for John Smith under the record identified by InterviewID 1.

When viewing the Report, I do not want to see the sentences for the other names:  Jane Doe (record: InterviewID 2) or April Showers (record: InterviewID 3).

I'm pretty new to Access Reports—can someone walk me through the steps on how to do this?

Please see attached database.

Question by:mdstalla
    LVL 74

    Expert Comment

    by:Jeffrey Coachman
    I only want the report to display the current (latest) record I was working on. this I will presume you mean the last record you had open on a form... (which is the only way I can see of doing this..., since users should not be entering records in the table directly)

    The simplest way would be to use a button on the form to open the report.

    See the modified sample

    Author Comment


    Yes, I do mean the last record I had open on a Form.  I'd love to review your response, but I can't seem to open your attachment.  Onsted of opening Access, I get a web-based screen shot of a bunch of gibberish.

    Any idea how I can view your updated database?
    LVL 74

    Accepted Solution

    right click the attachment and select "Save As"
    Then save it to your computer...
    Then open it on your computer.

    If that does not work, then simply make a form out of the table.
    Put a button on the form.
    Put code on the form like this:
        'Save the record
        DoCmd.RunCommand acCmdSaveRecord
        'Open the report to this record
        DoCmd.OpenReport "Report1", acViewPreview, , "InterviewID=" & Me.InterviewID

    Open in new window


    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
    In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now