Solved

OLE OBJECT ACTIVATION FROM COMMAND BUTTON

Posted on 2006-10-26
2
341 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
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 125 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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…
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…

733 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