Solved

Reporting issue

Posted on 2013-11-11
1
207 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
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…

730 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