467,867 Members | 1,354 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,867 developers. It's quick & easy.

Displaying photo files in a continuos form.

I'm trying to display in a continuos form some *.jpg. I have a table
with the file path, (a photo of a person). Display these photos in a
single form is very easy, just using changing some properties at the
"current" event. But if I do it in the same way in a continous form
seems to be impossible, since all images of the form change at the same
time. I need a different image for each register. ¿How can I do it?

Nov 25 '05 #1
  • viewed: 1674
Share:
13 Replies
AFAIK you just can't do that.
You *can* do it in a report though, but this is not what you ask ;-)

Arno R

<Jo***********@gmail.com> schreef in bericht news:11*********************@o13g2000cwo.googlegro ups.com...
I'm trying to display in a continuos form some *.jpg. I have a table
with the file path, (a photo of a person). Display these photos in a
single form is very easy, just using changing some properties at the
"current" event. But if I do it in the same way in a continous form
seems to be impossible, since all images of the form change at the same
time. I need a different image for each register. ¿How can I do it?

Nov 25 '05 #2
Why don't you take Salad's advise and grow up and get a life and quit
sending emails to my office.

"If you have anything to contribute to the group, contribute. Your war
with Datasheet is simply pissing and moaning in the wind for the sake of
nothing. Grow up and get a life."

Salad

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.


"Arno R" <ar***********@tiscali.nl> wrote in message
news:43********************@dreader2.news.tiscali. nl...
AFAIK you just can't do that.
You *can* do it in a report though, but this is not what you ask ;-)

Arno R

<Jo***********@gmail.com> schreef in bericht
news:11*********************@o13g2000cwo.googlegro ups.com...
I'm trying to display in a continuos form some *.jpg. I have a table
with the file path, (a photo of a person). Display these photos in a
single form is very easy, just using changing some properties at the
"current" event. But if I do it in the same way in a continous form
seems to be impossible, since all images of the form change at the same
time. I need a different image for each register. ¿How can I do it?
Nov 25 '05 #3
On 25 Nov 2005 06:06:05 -0800, Jo***********@gmail.com wrote:
I'm trying to display in a continuos form some *.jpg. I have a table
with the file path, (a photo of a person). Display these photos in a
single form is very easy, just using changing some properties at the
"current" event. But if I do it in the same way in a continous form
seems to be impossible, since all images of the form change at the same
time. I need a different image for each register. =BFHow can I do it?


You need to embed the jpg inside of a control that can be
independently loaded into an OLE compliant control on the continuous
form. Something similar to what is done here:

http://www.mvps.org/access/forms/frm0024.htm

Search google on conditional formatting continuous forms for Access 97
and you will get the idea.

mike

Nov 26 '05 #4
> PC Datasheet

[garbage snipped]


The CDMA charter prohibits advertising and Steve is the only consultant that
refuses to adhere to that charter. There are literally hundreds of competent
Access consultants available. Many post regularly in this newsgroup, others
can easily be located by googling or visiting guru.com.

Either Steve's advertising should be stopped or the CDMA charter should be
amended to permit it. Permitting Steve to continue advertising punishes the
many ethical consultants who contribute here but don't advertise.

Nov 26 '05 #5
Jo***********@gmail.com wrote:
I'm trying to display in a continuos form some *.jpg. I have a table
with the file path, (a photo of a person). Display these photos in a
single form is very easy, just using changing some properties at the
"current" event. But if I do it in the same way in a continous form
seems to be impossible, since all images of the form change at the same
time. I need a different image for each register. ¿How can I do it?


I created an app that does this and the design I used was to avoid OLE controls, putting
pictures in the database tables and the continuous form.

Instead I created a unbound form with an appropriate number of rows for the form size,
created controls for each row and then populate them dynamically. Provide the user with
"Page Down/Page Up" and "Row Down/Row Up" buttons to reload the unbound controls. Hide
rows of controls as appropriate.

Then I stored all images in a folder under the application's installed folder and stored
just the image file name in the database tables.

This involved a lot more coding but preventing database bloating associated with storing
images, alleviated me from dealing with OCX controls and referenced objects and allowed me
complete freedom in how I formatted each row.

--
'---------------
'John Mishefske
'---------------
Nov 26 '05 #6
Randy,

Why don't you follow the advise of David Fenton ---

"Stop. I'm on the verge of killfiling the bunch of you who are
polluting the newsgroup with theis bitchfest."

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.
"PleaseStopAdvertising" <no****@pcdatasheet.com> wrote in message
news:zD***************@newssvr23.news.prodigy.net. ..
PC Datasheet


[garbage snipped]


The CDMA charter prohibits advertising and Steve is the only consultant
that
refuses to adhere to that charter. There are literally hundreds of
competent
Access consultants available. Many post regularly in this newsgroup,
others
can easily be located by googling or visiting guru.com.

Either Steve's advertising should be stopped or the CDMA charter should be
amended to permit it. Permitting Steve to continue advertising punishes
the
many ethical consultants who contribute here but don't advertise.

Nov 26 '05 #7
Sounds like a good idea. You should kill file anyone who disagrees with the
way you are abusing these newsgroups. Then we will not have to put up with
your pointless childish rants that you post in response to complaints about
your inappropriate behaviour.

Kill away steve-o.

John... Visio MVP
"PC Datasheet" <no****@nospam.spam> wrote in message
news:2L*****************@newsread1.news.atl.earthl ink.net...
Randy,

Why don't you follow the advise of David Fenton ---

"Stop. I'm on the verge of killfiling the bunch of you who are
polluting the newsgroup with theis bitchfest."


Nov 26 '05 #8
Here's what a poster says about John Marshall dwt ---

"That's good, you hypocritical piece of shit. "

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.
"John Marshall, MVP" <la******@stonehenge.ca> wrote in message
news:P-********************@magma.ca...
Sounds like a good idea. You should kill file anyone who disagrees with
the way you are abusing these newsgroups. Then we will not have to put up
with your pointless childish rants that you post in response to complaints
about your inappropriate behaviour.

Kill away steve-o.

John... Visio MVP
"PC Datasheet" <no****@nospam.spam> wrote in message
news:2L*****************@newsread1.news.atl.earthl ink.net...
Randy,

Why don't you follow the advise of David Fenton ---

"Stop. I'm on the verge of killfiling the bunch of you who are
polluting the newsgroup with theis bitchfest."


Nov 26 '05 #9
Very childish.

John... Visio MVP

"PC Datasheet" <no****@nospam.spam> wrote in message
news:TT*****************@newsread1.news.atl.earthl ink.net...
Here's what a poster says about John Marshall dwt ---

"That's good, you hypocritical piece of shit. "

PC Datasheet

Over 1000 Access users have come to me for help. Most ran away screaming.
"John Marshall, MVP" <la******@stonehenge.ca> wrote in message
news:P-********************@magma.ca...
Sounds like a good idea. You should kill file anyone who disagrees with
the way you are abusing these newsgroups. Then we will not have to put up
with your pointless childish rants that you post in response to
complaints about your inappropriate behaviour.

Kill away steve-o.

John... Visio MVP
"PC Datasheet" <no****@nospam.spam> wrote in message
news:2L*****************@newsread1.news.atl.earthl ink.net...
Randy,

Why don't you follow the advise of David Fenton ---

"Stop. I'm on the verge of killfiling the bunch of you who are
polluting the newsgroup with theis bitchfest."

Nov 26 '05 #10
"John Marshall, MVP" <la******@stonehenge.ca> wrote in
news:-d******************************@magma.ca:
Very childish.


Physician, heal thyself!

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 26 '05 #11
Thank you for your answer.

By reading your post i understand that i must find a control (like an
ocx one) that can display images and set its controlsource property to
the file location field. I try to find it using google, but.. i
couldn't find it. Do you know if exist such kind of control?

Thank you very much again.

Nov 28 '05 #12
"I created an app that does this and the design I used was to avoid OLE
controls, putting
pictures in the database tables and the continuous form.

Instead I created a unbound form with an appropriate number of rows for
the form size,
created controls for each row and then populate them dynamically.
Provide the user with
"Page Down/Page Up" and "Row Down/Row Up" buttons to reload the unbound
controls. Hide
rows of controls as appropriate.

Then I stored all images in a folder under the application's installed
folder and stored
just the image file name in the database tables.

This involved a lot more coding but preventing database bloating
associated with storing
images, alleviated me from dealing with OCX controls and referenced
objects and allowed me
complete freedom in how I formatted each row.
"

I supoused that this is the only good solution, but i tryied to avoid
this hard-work :(. Seem that the only solution is to use a single form
with duplicated controls and programatically change them like if they
were registers of a continuos form.

Thank you very much for your answer.

Nov 28 '05 #13
On 28 Nov 2005 04:08:56 -0800, Jo***********@gmail.com wrote:
Thank you for your answer.

By reading your post i understand that i must find a control (like an
ocx one) that can display images and set its controlsource property to
the file location field. I try to find it using google, but.. i
couldn't find it. Do you know if exist such kind of control?


You should be able to do it natively within Access. Try "OLE Object"
as DataType for a field in a table.

mike
Nov 28 '05 #14

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Ian | last post: by
reply views Thread by Aravind | last post: by
2 posts views Thread by Jeronimo Bertran | last post: by
4 posts views Thread by Lindsey Howell | last post: by
8 posts views Thread by Jon Weston | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.