MS Access Report Display only 1 record

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.

Thanks.
testdatabase1.accdb
mdstallaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
I only want the report to display the current (latest) record I was working on.
...by 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
testdatabase1.accdb
0
mdstallaAuthor Commented:
Jeffrey:

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?
0
Jeffrey CoachmanMIS LiasonCommented:
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


JeffCoachman
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.