Solved

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

Posted on 2014-01-30
10
348 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
10 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
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…
Familiarize people with the process of utilizing SQL Server views 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 Access…
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…

831 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