Solved

OLE OBJECT ACTIVATION FROM COMMAND BUTTON

Posted on 2006-10-26
2
317 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

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.

Question has a verified solution.

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

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions 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 Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

932 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