Connecting Tech Pros Worldwide Forums | Help | Site Map

Displaying photo files in a continuos form.

Jose.M.Huerta@gmail.com
Guest
 
Posts: n/a
#1: Nov 25 '05
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?


Arno R
Guest
 
Posts: n/a
#2: Nov 25 '05

re: Displaying photo files in a continuos form.


AFAIK you just can't do that.
You *can* do it in a report though, but this is not what you ask ;-)

Arno R

<Jose.M.Huerta@gmail.com> schreef in bericht news:1132927565.210008.32980@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?

PC Datasheet
Guest
 
Posts: n/a
#3: Nov 25 '05

re: Displaying photo files in a continuos form.


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
resource@pcdatasheet.com
www.pcdatasheet.com

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




"Arno R" <arraNOcomSPAM@tiscali.nl> wrote in message
news:43873659$0$721$5fc3050@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

<Jose.M.Huerta@gmail.com> schreef in bericht
news:1132927565.210008.32980@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?


Mike Preston
Guest
 
Posts: n/a
#4: Nov 26 '05

re: Displaying photo files in a continuos form.


On 25 Nov 2005 06:06:05 -0800, Jose.M.Huerta@gmail.com wrote:
[color=blue]
>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?[/color]

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

PleaseStopAdvertising
Guest
 
Posts: n/a
#5: Nov 26 '05

re: Displaying photo files in a continuos form.


> PC Datasheet

[color=blue]
>[garbage snipped][/color]

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.

John Mishefske
Guest
 
Posts: n/a
#6: Nov 26 '05

re: Displaying photo files in a continuos form.


Jose.M.Huerta@gmail.com wrote:[color=blue]
> 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?[/color]

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
'---------------
PC Datasheet
Guest
 
Posts: n/a
#7: Nov 26 '05

re: Displaying photo files in a continuos form.


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
resource@pcdatasheet.com
www.pcdatasheet.com

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


"PleaseStopAdvertising" <nospam@pcdatasheet.com> wrote in message
news:zDRhf.1321$Zb2.35@newssvr23.news.prodigy.net. ..[color=blue][color=green]
>> PC Datasheet[/color]
>
>[color=green]
>>[garbage snipped][/color]
>
> 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.
>[/color]


John Marshall, MVP
Guest
 
Posts: n/a
#8: Nov 26 '05

re: Displaying photo files in a continuos form.


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" <nospam@nospam.spam> wrote in message
news:2L%hf.5520$N45.2425@newsread1.news.atl.earthl ink.net...[color=blue]
> 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."[/color]



PC Datasheet
Guest
 
Posts: n/a
#9: Nov 26 '05

re: Displaying photo files in a continuos form.


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
resource@pcdatasheet.com
www.pcdatasheet.com

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


"John Marshall, MVP" <lancucki@stonehenge.ca> wrote in message
news:P-CdnYBs5f6lPRXeRVn-ow@magma.ca...[color=blue]
> 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" <nospam@nospam.spam> wrote in message
> news:2L%hf.5520$N45.2425@newsread1.news.atl.earthl ink.net...[color=green]
>> 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."[/color]
>
>
>[/color]


John Marshall, MVP
Guest
 
Posts: n/a
#10: Nov 26 '05

re: Displaying photo files in a continuos form.


Very childish.

John... Visio MVP

"PC Datasheet" <nospam@nospam.spam> wrote in message
news:TT2if.5575$N45.3602@newsread1.news.atl.earthl ink.net...[color=blue]
> 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" <lancucki@stonehenge.ca> wrote in message
> news:P-CdnYBs5f6lPRXeRVn-ow@magma.ca...[color=green]
>> 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" <nospam@nospam.spam> wrote in message
>> news:2L%hf.5520$N45.2425@newsread1.news.atl.earthl ink.net...[color=darkred]
>>> 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."[/color][/color][/color]


David W. Fenton
Guest
 
Posts: n/a
#11: Nov 26 '05

re: Displaying photo files in a continuos form.


"John Marshall, MVP" <lancucki@stonehenge.ca> wrote in
news:-dSdnUgVYZ-LXxXenZ2dnUVZ_sidnZ2d@magma.ca:
[color=blue]
> Very childish.[/color]

Physician, heal thyself!

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Jose.M.Huerta@gmail.com
Guest
 
Posts: n/a
#12: Nov 28 '05

re: Displaying photo files in a continuos form.


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.

Jose.M.Huerta@gmail.com
Guest
 
Posts: n/a
#13: Nov 28 '05

re: Displaying photo files in a continuos form.


"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.

Mike Preston
Guest
 
Posts: n/a
#14: Nov 28 '05

re: Displaying photo files in a continuos form.


On 28 Nov 2005 04:08:56 -0800, Jose.M.Huerta@gmail.com wrote:
[color=blue]
>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?[/color]

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

mike
Closed Thread