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

Default Field Size question?

Greetings all,

Despite the inefficiency, I am content to cut and paste 20Kb JPEG images
into a OLEBound field in my inventory DB (because I don't want subsequent
users to have the hassle of loading and linking to other applications -
after my death).

I am surprised to see that the size of the Access mdb file increases by
about 1Mb for every 4 images added.

I don't suppose I will include more than 2000 images and the resulting
mdb file should fit on a single CD-R; no problem?

However, as a beginner here, I'm curious, is there any limit to the size
of an mdb file?

Is there some default (field / memory) size that I could safely reset to
a lower figure to store more images per Mb.

Kind regards

Tony E
Nov 13 '05 #1
4 1447
"Rednelle" <re********@btinternet.com> wrote in message news:<cf**********@sparta.btinternet.com>...
Greetings all,

Despite the inefficiency, I am content to cut and paste 20Kb JPEG images
into a OLEBound field in my inventory DB (because I don't want subsequent
users to have the hassle of loading and linking to other applications -
after my death).

I am surprised to see that the size of the Access mdb file increases by
about 1Mb for every 4 images added.

I don't suppose I will include more than 2000 images and the resulting
mdb file should fit on a single CD-R; no problem?

However, as a beginner here, I'm curious, is there any limit to the size
of an mdb file?

Is there some default (field / memory) size that I could safely reset to
a lower figure to store more images per Mb.

Kind regards

Tony E


Search the NG for this one, or ask Larry Linson. Storing the images
inside your database is completely nuts. It will get enormous very
fast. If all of this stuff will be one the CD, use App.Path or
whatever to get the path to the MDB and figure out the path to the
images from there, and just store what you have to.
Nov 13 '05 #2
Thanks for the advice Pieter, I'll take it and contact Larry Linson

Kind regards

Tony E

"Pieter Linden" <pi********@hotmail.com> wrote in message
news:bf**************************@posting.google.c om...
"Rednelle" <re********@btinternet.com> wrote in message

news:<cf**********@sparta.btinternet.com>...
Nov 13 '05 #3
"Rednelle" wrote
Thanks for the advice Pieter, I'll
take it and contact Larry Linson


You just did. :-)

The example databases at http://accdevel.tripod.com (one for Access
97, a second for Access 2000 and later) illustrate three approaches to
handling images in Access, two of which do not cause the "bloat" that
you have observed. The included article explains why you see that
bloat.

I am away from my office machine with the exact hyperlink to MVP
Stephen Lebans' website, but you will find example code there to avoid
running out of memory when Reporting using other than .BMP image files
(it shows how to convert your files to BMP just before using them in
the Report). I believe you will also find a control to display images
if your users do not have the graphics filters installed.

Best of luck with your project.

Larry Linson
Microsoft Access MVp
Nov 13 '05 #4
la**********@ntpcug.org (Larry Linson) wrote in message news:<fc**************************@posting.google. com>...
"Rednelle" wrote
> Thanks for the advice Pieter, I'll
> take it and contact Larry Linson


You just did. :-)

The example databases at http://accdevel.tripod.com (one for Access
97, a second for Access 2000 and later) illustrate three approaches to
handling images in Access, two of which do not cause the "bloat" that
you have observed. The included article explains why you see that
bloat.

I am away from my office machine with the exact hyperlink to MVP
Stephen Lebans' website, but you will find example code there to avoid
running out of memory when Reporting using other than .BMP image files
(it shows how to convert your files to BMP just before using them in
the Report). I believe you will also find a control to display images
if your users do not have the graphics filters installed.

Best of luck with your project.

Larry Linson
Microsoft Access MVp

www.lebans.com

see, I told ya Larry would have that link... =)
Nov 13 '05 #5

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

Similar topics

55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
3
by: Roy Adams | last post by:
Hi I'm reposting this question because for some reason can't post follow up question to this thread. What I'm trying to do is put the value and text from a a select in to a text field and to a...
2
by: Bruce | last post by:
Hello, This is something that's bothered me for quite a while. Does anyone know why Access has, for so many years, defaulted to 50 characters for the fieldsize value when setting a table...
11
by: Bradford Chamberlain | last post by:
I work a lot with multidimensional arrays of dynamic size in C, implementing them using a single-dimensional C array and the appropriate multipliers and offsets to index into it appropriately. I...
3
by: DaveC | last post by:
Hi.. I have a C exam in a few days.. Looking back at old exams I find a few things we have not been taught / cant remember being taught. Below is a question from last year. My question is how do...
5
by: Drew | last post by:
I am building an application for inserting and updating one field in a database. The database is in SQL Server and I am using Classic ASP. I have a dropdown listbox that is populated with names,...
6
by: marktxx | last post by:
Although the C90 standard only mentions the use of 'signed int' and 'unsigned int' for bit-fields (use 'int' at your own risk) and C99 adds _Bool. It seems that most compilers create the size of...
74
by: Zytan | last post by:
I have a struct constructor to initialize all of my private (or public readonly) fields. There still exists the default constructor that sets them all to zero. Is there a way to remove the...
3
by: David Greenberg | last post by:
Hi This is a question of "what does it cost me". Lets say I have an integer value which would fit into a smallint field but the field is actually defined as int or even larger as bigint. What...
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
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
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...

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.