?
Solved

OLE OBJECT ACTIVATION FROM COMMAND BUTTON

Posted on 2006-10-26
2
Medium Priority
?
353 Views
Last Modified: 2008-03-04
How can I create a cmdbutton that will open an embedded object in an access form?  I am trying to get around utilizing the dbl-click...
0
Comment
Question by:sfmoore2006
[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
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 17817538
Hi sfmoore2006,

Example:

Private Sub Command13_Click()

 Me.OLEUnbound12.Verb = acOLEVerbOpen

Me.OLEUnbound12.Action = acOLEActivate


End Sub



Pete
0
 

Author Comment

by:sfmoore2006
ID: 17834708
This was exactly what I was looking for.  Many Thanks!!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

762 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