Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 7th, 2007, 10:52 AM
Authorized User
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Master,
thank you for that information. I found "infopath" from MS Office Suite and will give it a try.
But I have yet another question...
I have a table with personal information like: name, address, ssn, birthdate, and PICTURE OF THE PERSON... ect. "picture of the person" field is named "clientPICTURE" and the type was defined as "OLE Object". When I design a form based on this table, all works fine. However, in order to insert a picture, I had to use the main menu (insert - object). or right click and choose "insert object".
I would like to create a command button for this action, next to the OLE object, so I can 1. hide the main menu from users, 2. non-computer friendly users know what to do.
Is this possible? and What is the code for this action? I've been looking everywhere, but there are no listings...
Also, if you don't mind..., one more question. When I create "data access page" from the table, the "OLE object" is not even an option to include!!! What's going on???

Thank you for all the help, master!
 
Old September 7th, 2007, 11:13 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You know, even Microsoft doesn't recommend storing images as OLE objects in tables. They way they implement this in Northwind is using paths to filenames. They use a button to load a filename in the Northwind Employee form.

Check out this link and Using VBA to display images: http://office.microsoft.com/en-us/ac...802251033.aspx


mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Button VB Code taraj Access 16 May 22nd, 2008 10:37 AM
How to Access Ms-Access WorkGroup tables using VB kishoremf BOOK: Professional Crystal Reports for VS.NET 1 April 29th, 2007 02:05 AM
cannot insert OLE command button event code janefu Excel VBA 1 January 10th, 2006 04:33 AM
Location of Access default command button icons ActuaryTm Access 2 September 16th, 2005 12:03 PM
Command button not working in ms access page mohiddin52 Access 1 December 14th, 2003 06:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.