How to Display Multiple Images on a Tabular Form

G

Guest

I would greatly appreciate if any one can tell me how to display multiple
images on a tabular form. I tried to find some samples and only found the
samples displayed image on a single form.

Code:
Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub
 
S

Stephen Lebans

You would have to insert the Images into an OLE object field. In general,
this is not practical for more a few dozen images. If you GoogleGroups on
this issue you will find several threads discussing a possible workaround
using multiple Image controls.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
G

Guest

First of all, thanks for your reply.

My table has over 10,000 images and I display the image by using object link
instead of storing actual image on table by OLE object field. I follow the
example of employees from Northwind and it works fine as a "single form".

Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub

However, the same approach doesn't work for "Continuous Fomrs" as the image
doesn't display correctly for the remaining records (they all show with the
image
from the first record instead of each specific image for each record).

--
Andrew C.


Stephen Lebans said:
You would have to insert the Images into an OLE object field. In general,
this is not practical for more a few dozen images. If you GoogleGroups on
this issue you will find several threads discussing a possible workaround
using multiple Image controls.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Andrew C. said:
I would greatly appreciate if any one can tell me how to display multiple
images on a tabular form. I tried to find some samples and only found the
samples displayed image on a single form.

Code:
Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub
 
S

Stephen Lebans

Andrew please read me initial reply to your inquiry. The answer(s) stay the
same.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Andrew C. said:
First of all, thanks for your reply.

My table has over 10,000 images and I display the image by using object
link
instead of storing actual image on table by OLE object field. I follow
the
example of employees from Northwind and it works fine as a "single form".

Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub

However, the same approach doesn't work for "Continuous Fomrs" as the
image
doesn't display correctly for the remaining records (they all show with
the
image
from the first record instead of each specific image for each record).

--
Andrew C.


Stephen Lebans said:
You would have to insert the Images into an OLE object field. In general,
this is not practical for more a few dozen images. If you GoogleGroups on
this issue you will find several threads discussing a possible workaround
using multiple Image controls.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Andrew C. said:
I would greatly appreciate if any one can tell me how to display
multiple
images on a tabular form. I tried to find some samples and only found
the
samples displayed image on a single form.

Code:
Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub
 
G

Guest

Hi Stephen,

Thanks for your clarification and sorry to misread your initial post.

--
Andrew C.


Stephen Lebans said:
Andrew please read me initial reply to your inquiry. The answer(s) stay the
same.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Andrew C. said:
First of all, thanks for your reply.

My table has over 10,000 images and I display the image by using object
link
instead of storing actual image on table by OLE object field. I follow
the
example of employees from Northwind and it works fine as a "single form".

Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub

However, the same approach doesn't work for "Continuous Fomrs" as the
image
doesn't display correctly for the remaining records (they all show with
the
image
from the first record instead of each specific image for each record).

--
Andrew C.


Stephen Lebans said:
You would have to insert the Images into an OLE object field. In general,
this is not practical for more a few dozen images. If you GoogleGroups on
this issue you will find several threads discussing a possible workaround
using multiple Image controls.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


I would greatly appreciate if any one can tell me how to display
multiple
images on a tabular form. I tried to find some samples and only found
the
samples displayed image on a single form.

Code:
Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub
 
G

Guest

Hi Stephen,

Thanks for your clarification and sorry to misread your initial post.

--
Andrew C.


Stephen Lebans said:
Andrew please read me initial reply to your inquiry. The answer(s) stay the
same.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Andrew C. said:
First of all, thanks for your reply.

My table has over 10,000 images and I display the image by using object
link
instead of storing actual image on table by OLE object field. I follow
the
example of employees from Northwind and it works fine as a "single form".

Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub

However, the same approach doesn't work for "Continuous Fomrs" as the
image
doesn't display correctly for the remaining records (they all show with
the
image
from the first record instead of each specific image for each record).

--
Andrew C.


Stephen Lebans said:
You would have to insert the Images into an OLE object field. In general,
this is not practical for more a few dozen images. If you GoogleGroups on
this issue you will find several threads discussing a possible workaround
using multiple Image controls.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


I would greatly appreciate if any one can tell me how to display
multiple
images on a tabular form. I tried to find some samples and only found
the
samples displayed image on a single form.

Code:
Private Sub Form_Current()
Me![ImageFrame].Picture = Me![FilePath] & Me![FileName]
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top