By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 748 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

How to open embedded image clicking button

P: 4
I have continous forms which contains the information of student cerificate that they submitted.So one student may submitted two or three ceriticate.I have one button name display image in form for every certificate.I want the image of ceritificate is display when user click the button.
So do anybody have any idea how i can do this.

Thank you for your help.
Apr 2 '10 #1
Share this Question
Share on Google+
4 Replies


ADezii
Expert 5K+
P: 8,638
To display an Embedded Image in a Form you must first Activate it, then perform some kind of Operation on it. Look in the Help Files and try some different Options for Verb, as indicated below:
Expand|Select|Wrap|Line Numbers
  1. With Me![Certificate]
  2.   .Action = acOLEActivate
  3.   .Verb = acOLEVerbOpen
  4. End With
Apr 2 '10 #2

P: 4
I Try as you told me like this

Private Sub btn_Picture_Click()
With Me.btn_Picture
.Action=acOLEActivate
With Me.btn_Picture
.Verb = acOLEVerbOpen
End With
End Sub

But it did not work.I got error of metod or data member not found.The image is saved in field name image in table and that image i try to open by clicking button name btn_Picture of the form named Profile.
So can u tell me what is wrong with it.

Thank You.
Apr 2 '10 #3

ADezii
Expert 5K+
P: 8,638
What you attempted is not the code that I displayed to you.
Apr 2 '10 #4

P: 4
SO can you help me by providing code for it.
Thank You.
Apr 2 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.