?
Solved

How to click a line and open a note with information in it in access?

Posted on 2014-01-30
10
Medium Priority
?
365 Views
Last Modified: 2014-02-03
I have a database that I want to make a change to.  I have a box where people can add a record of their conversation.  Everything is viewable on the screen.  I want to change it so that it just shows a snippet of the note left. Then you when you click on the line that has the truncated note it pops up a box in which has the full note.  How do you do this in microsoft access?
CRM-Version-2.0.zip
0
Comment
Question by:lehi52
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 39822120
you can try this using the DblClick event


Private Sub Note_DblClick(Cancel As Integer)
DoCmd.RunCommand acCmdZoomBox
End Sub
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 39822122
1) Resize your notes sub-form to display a single row for each record
2) Resize your notes field to display the desired number of characters.
3) Use the Double-Click Event of your notes field to open another form that displays the entire contents of the notes field.  You can open this form with a filter set to the unique id of the current notes record.

ET
0
 

Author Comment

by:lehi52
ID: 39822126
Where would I paste the double click event.  I am a beginner and really dont know code that well.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
LVL 4

Expert Comment

by:bfuchs
ID: 39822129
I use the following in the double click event of that note box.
    DoCmd.RunCommand acCmdZoomBox
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39822141
in the design view of the subform, select the "Note" textbox and hit F4
select the Event Tab on the property window
locate the On Dbl Click  and select [Event Procedure]
click on the (...)  to open the VBA windwo

place the codes  i posted above
0
 

Author Comment

by:lehi52
ID: 39822235
As you see on the contact form,  I put a subform which displays the series of notes. WIll this work with a subform?  Or do I need to do it different?
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39822274
@lehi52,

follow the instruction  i posted above at http:#a39522141 

test it.

post the result
0
 

Author Comment

by:lehi52
ID: 39822727
I thought when I was marking the solution I could mark two answers.   So really it marked the wrong one.  Rey Obrero's answer was the ultimate solution with some of the others providing added support.  Thank you everyone.  I'd like to give credit but its not letting me.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39822736
@lehi52

click on the Request attention above and ask to reopen the thread, give your reason why.
0
 

Author Closing Comment

by:lehi52
ID: 39831320
Rey has helped out a lot
0

Featured Post

Technology Partners: 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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

649 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