Solved

Reporting issue

Posted on 2013-11-11
1
171 Views
Last Modified: 2013-11-11
Hello Experts,

I have a contineous form in ms access with a summary of names.

I want to preview the details in a report preview of a particular name if i click the text box

Example:

Names

1. XXX
2. YYY
3. AAA
4. RRR
5. WWW

if i select and click "XXX" from the contineous form

a report preview will open with the corresponding details of information related to XXX

I hope that you will help me

Thanks,

Czher
0
Comment
Question by:Czher
1 Comment
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39638432
You can do this with VBA in the click event of the Name field:
Private Sub YourNameTextBox_Click()
       Docmd.OpenReport "YourReportName", acViewPreview, WhereCondition := "YourNameField = '" & Me.NameField & "'"
End Sub

Open in new window


You'll have to change that to use your exact names for textbox, fields and report.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

743 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

12 Experts available now in Live!

Get 1:1 Help Now