Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

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

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
lehi52
Asked:
lehi52
1 Solution
 
Rey Obrero (Capricorn1)Commented:
you can try this using the DblClick event


Private Sub Note_DblClick(Cancel As Integer)
DoCmd.RunCommand acCmdZoomBox
End Sub
0
 
Eric ShermanAccountant/DeveloperCommented:
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
 
lehi52Author Commented:
Where would I paste the double click event.  I am a beginner and really dont know code that well.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
bfuchsCommented:
I use the following in the double click event of that note box.
    DoCmd.RunCommand acCmdZoomBox
0
 
Rey Obrero (Capricorn1)Commented:
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
 
lehi52Author Commented:
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
 
Rey Obrero (Capricorn1)Commented:
@lehi52,

follow the instruction  i posted above at http:#a39522141 

test it.

post the result
0
 
lehi52Author Commented:
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
 
Rey Obrero (Capricorn1)Commented:
@lehi52

click on the Request attention above and ask to reopen the thread, give your reason why.
0
 
lehi52Author Commented:
Rey has helped out a lot
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now