Solved

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

Posted on 2014-01-30
10
342 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 119

Accepted Solution

by:
Rey Obrero 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
 
LVL 3

Expert Comment

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

Expert Comment

by:Rey Obrero
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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 119

Expert Comment

by:Rey Obrero
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 119

Expert Comment

by:Rey Obrero
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
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…
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…

744 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