WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

help with images

 
   Home -> Office other -> Getting Started RSS
Next:  Data Access Page - Access 2003  
Author Message
djslewnu

External


Since: Aug 06, 2008
Posts: 1



(Msg. 1) Posted: Wed Aug 06, 2008 4:31 pm
Post subject: help with images
Archived from groups: microsoft>public>access>gettingstarted (more info?)

how do I get individual pictures to asosiate with records on a form. I want
the picture of my record covers to show up within the form without clicking
the attachment clip.I want it as a detail on my form with every different
record and its picture.
Back to top
Login to vote
fredg

External


Since: Jan 30, 2004
Posts: 4644



(Msg. 2) Posted: Wed Aug 06, 2008 5:29 pm
Post subject: Re: help with images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 6 Aug 2008 16:31:00 -0700, djslewnu wrote:

> how do I get individual pictures to asosiate with records on a form. I want
> the picture of my record covers to show up within the form without clicking
> the attachment clip.I want it as a detail on my form with every different
> record and its picture.

Place all of the pictures in a separate file, i.e. "c:\MyPicFolder"
Then add a field to your database table.
"PictureName" Text datatype

Enter the complete name of each picture in the record it would be
associated with, i.e. UncleJohn.jpg .

Then add an Image control to your form. Leave it's Picture property
blank (Note: you may have to enter a picture when adding the Image
control. After you save the control, delete the Picture property.
Set the PictureType property to Linked.
Set the SizeMode property to Zoom.

Code the Form's Current event:

Me.ImageName.Picture = "c:\MyPicFolder\" & Me.PictureName

The picture will change as you navigate to each record.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Back to top
Login to vote
Steve

External


Since: Jul 10, 2008
Posts: 330



(Msg. 3) Posted: Wed Aug 06, 2008 8:25 pm
Post subject: Re: help with images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Place all your pictures in a separate file. Add a text field named "Path" to
your table. Record in Path the full path to the appropriate picture for your
record. Add Path to the recordsource of your form. Add an image control
(from toolbox) to your form. Select the image control, open Properties and
set the Picture property to Path.

Steve



"djslewnu" <djslewnu.TakeThisOut@discussions.microsoft.com> wrote in message
news:0DB4EAAB-BA76-4CBA-946F-9BCE82B44212@microsoft.com...
> how do I get individual pictures to asosiate with records on a form. I
> want
> the picture of my record covers to show up within the form without
> clicking
> the attachment clip.I want it as a detail on my form with every different
> record and its picture.
>
Back to top
Login to vote
Larry Daugherty

External


Since: May 11, 2004
Posts: 1555



(Msg. 4) Posted: Thu Aug 07, 2008 4:07 am
Post subject: Re: help with images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I think that both Steve and Fred meant to write that you should place
each picture in its own separate file. ....

HTH
--
-Larry-
--

"djslewnu" <djslewnu DeleteThis @discussions.microsoft.com> wrote in message
news:0DB4EAAB-BA76-4CBA-946F-9BCE82B44212@microsoft.com...
> how do I get individual pictures to asosiate with records on a form.
I want
> the picture of my record covers to show up within the form without
clicking
> the attachment clip.I want it as a detail on my form with every
different
> record and its picture.
>
Back to top
Login to vote
Larry Linson

External


Since: Jun 24, 2004
Posts: 2658



(Msg. 5) Posted: Fri Aug 15, 2008 7:18 pm
Post subject: Re: help with images [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"djslewnu" <djslewnu RemoveThis @discussions.microsoft.com> wrote

> how do I get individual pictures to asosiate with
> records on a form. I want the picture of my record
> covers to show up within the form without clicking
> the attachment clip. I want it as a detail on my form
> with every different record and its picture.

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

And, Stephen has an ActiveX control available that works in cases where the
graphics filters are not available -- and works better, I've heard, than the
OLE Object and OLE Controls.

Please note that there are other approaches, e.g.,
Application.FollowHyperlink, but those, like OLE and Bound OLE Frames still
leave
you "at the mercy of the imaging software registered for the filetype".

Finally, Access 2007 has enhancements that, reputedly, eliminate the
database bloat long associated with OLE Objects and Bound OLE Frames. But,
it still leaves you relying on the software registered for the image type,
which may not be as "cooperative" as we'd like in creating our display. It
also has the capability of having a variable number of Attachments to a
Record, which may be helpful. But, as I have not done much with it yet, I
certainly wouldn't suggest you rush out and replace an earlier version --
until you have a copy incorporating, at least, the first Service Pack, or
have
the SP in hand and ready to apply as soon as you install Access 2007.

Larry Linson
Microsoft Office Access MVP
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Getting Started All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET