473,416 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

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
13 1910
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ken | last post by:
I have a database called autographs.mdb that is in the "XYZ" folder in the "database" folder. I have a form in the database that I want to display a photo of the celeb on. The photos are in a...
3
by: Dalan | last post by:
At first I was not certain what could cause Access 97 from displaying most jpeg images, but not all. After further testing, it seemed that all original images of less than 275 pixels per inch or...
3
by: Ian | last post by:
I have a continuos form with a Yes-No field and a text box on it, I am trying to get the Yes-No box text to turn Red when it set to Yes and Black when its set to No. I have tried stuff like: ...
0
by: Aravind | last post by:
Hi folks. I have a query, qryHistory, which has the following field: DaysOverdue: IIf(<Date(),DateDiff("d",,Nz(,Date())),0) I also have a form (continuos), frmHistory, which is based on...
2
by: Lyn | last post by:
Hi, I am struggling to display photographs in a list format. Any help will be greatly appreciated. Originally I had attempted to store photographs as embedded OLE Objects, but had lots of...
2
by: Jeronimo Bertran | last post by:
Hello, I am using a rendering aspx page to display a database image on an Image control. When the database record is retrieved, I am saving the bitmap to a session variable for the rendering...
4
by: Lindsey Howell | last post by:
Hello, I've encountered a problem when trying to display BLOB images from a SQL database using VB.NET. This is the code which generates the error: Dim mySqlConnection As SqlConnection = New...
8
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a...
1
by: cumupkid | last post by:
II am trying to create a form that will allow me to upload photos to a folder in the site root directory and add the information to the mysql db at the same time. I have created two forms, one...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.