473,395 Members | 1,568 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,395 software developers and data experts.

imgPicture/StringLink

DD
I have a tblCategory which has a fldPhoto.
I will have 1 picture for each category with numerous categories.

Instead of imbedding the pic in a OLEbox i have created a picBox which
is populated with the imgPath after you browse for the file
(Me![Photo] = GetOpenFile)
This is fine however, when i place a different imgpath into each
category, the picBox for each category only shows the first img.

This runs from a report so there is only one pic box,,i thought it
would act the same as an OLE where each new category pic populates the
PicBox.

I hope i have explained this for anyone to understand.
Any help
DD
Nov 12 '05 #1
3 1163
The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat
associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm

PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP

"DD" <da**********@bigpond.com.au> wrote in message
news:14**************************@posting.google.c om...
I have a tblCategory which has a fldPhoto.
I will have 1 picture for each category with numerous categories.

Instead of imbedding the pic in a OLEbox i have created a picBox which
is populated with the imgPath after you browse for the file
(Me![Photo] = GetOpenFile)
This is fine however, when i place a different imgpath into each
category, the picBox for each category only shows the first img.

This runs from a report so there is only one pic box,,i thought it
would act the same as an OLE where each new category pic populates the
PicBox.

I hope i have explained this for anyone to understand.
Any help
DD

Nov 12 '05 #2

"Larry Linson" <bo*****@localhost.not> wrote in message
news:GP*****************@nwrddc02.gnilink.net...
Comments: This message did not originate from the Sender address above.
It was remailed automatically by anonymizing remailer software.


Please ignore this posting.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #3
"Tony Toews" <to**********@yahoo.com> wrote:
X-Abuse-Report: ab***@teranews.com


Forged posting.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #4

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

Similar topics

7
by: chrisse_2 | last post by:
Hey, I currently have images in records linked to my database which print out on a report. Each of the images is a different size. What i would like to be able to do is have the image control...
4
imrosie
by: imrosie | last post by:
Hello all, I'm a YAN (yet another newbie) in need of help. I've got an image database all setup and working fine now, thanks to the help you've given me. In the main form a user can search for an...
19
imrosie
by: imrosie | last post by:
Hello, I've got a problem....I have a form based on a table with contains several controls (text and combo boxes). In the form there is a command button where some data in the controls can be...
14
imrosie
by: imrosie | last post by:
Hello, I have a app that allows for searching of images by stored (links) name. The absolute path to the images is what's stored. Not the image. Located at the bottom of the form is a previous...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.