473,769 Members | 7,408 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1953
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******** *************@o 13g2000cwo.goog legroups.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******@pcdata sheet.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******** ************@dr eader2.news.tis cali.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******** *************@o 13g2000cwo.goog legroups.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***********@g mail.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***********@g mail.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******@pcdata sheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.
"PleaseStopAdve rtising" <no****@pcdatas heet.com> wrote in message
news:zD******** *******@newssvr 23.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******** *********@newsr ead1.news.atl.e arthlink.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******@pcdata sheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.
"John Marshall, MVP" <la******@stone henge.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******** *********@newsr ead1.news.atl.e arthlink.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******** *********@newsr ead1.news.atl.e arthlink.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******@stone henge.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******** *********@newsr ead1.news.atl.e arthlink.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5923
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 "graphics" folder that is on the same level as the "xyz" folder. The only way I can seem to make it work is to put the entire path including hard drive in the table (c:\database\graphics\photo.jpg). But I also want to upload the database to the web...
3
3482
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 less would display, but those close to 300 pixels/inch or greater would not (MS Access cannot recognize the file format xxx.jpg). The larger, original images were scanned and saved as .bmp (at 300 dpi producing a 15MB file). Then the images were...
3
1421
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: If = "yes" Then .ForeColor = 0
0
1189
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 qryHistory. frmHistory has a checkbox, chkReturn, which has the following code
2
1825
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 trouble. I eventually abandoned this on advice from this group that this format was not reliable, not to mention that it bloated the database. Since then I have successfully been able to manage individual photographs
2
2588
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 aspx to load. Here is the code on the rendering page: CODE FOR ImageForm.aspx private void Page_Load(object sender, System.EventArgs e)
4
3954
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 SqlConnection(connectionString) Dim mySqlCommand As SqlCommand = New SqlCommand(queryString, mySqlConnection) Dim ms as MemoryStream = New MemoryStream
8
3303
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 picture. The ctrl in the form only displays the filename of the picture. The underlying table, when opened in table view, shows the word "package" in the field. When I double-click on either it opens the picture, but I can't get it to display. ...
1
3606
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 that uploads to photo to the folder in the site root diorectory. One that uploads the info to mysql database. but... When I try to upload them both ways at the same time i cant get it. I am Including code for both pages i have working. Code for...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10048
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6674
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.