CONCH-L Archives

Conchologists List

CONCH-L@LISTSERV.UGA.EDU

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Conchologists List <[log in to unmask]>
Date:
Mon, 14 Aug 2006 21:21:54 +0200
Reply-To:
Conchologists List <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset="iso-8859-1"
From:
Manfred Herrmann <[log in to unmask]>
Parts/Attachments:
text/plain (34 lines)
Hi Chris,
I had the same problem when I tried to put the
image into the database (or even a link to the image) as
OLE-Object. Now I only save the filename in the
database (field ImageName as string). Then I use a
form and put in a picture, call it Image and use
the following code in the form

 Private Sub Form_Current()
     If Me.imageName <> "" Then
         Me.image.Picture = "c:\" & imageName & ".jpg"
     Else
         Me.image.Picture = ""
     End If
 End Sub


 So if there is an imagename in the database then the
picture which is named imagename is shown. So you
donīt need the space for the picture in the
database but only the space for the name.
So it is possible to have thousands of photos
directly available in Access without to use a hyperlink

Manfred

----------------------------------------------------------------------
[log in to unmask] - a forum for informal discussions on molluscs
To leave this list, click on the following web link:
http://listserv.uga.edu/cgi-bin/wa?SUBED1=conch-l&A=1
Type your email address and name in the appropriate box and
click leave the list.
----------------------------------------------------------------------

ATOM RSS1 RSS2