473,490 Members | 2,488 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Code module size limits?

I'm asking this for curiosity's sake. Is there a code module size limit?

I looked at Access Specifications in help and didn't notice a code limit
size. For some odd reason I was under the assumption that code
modules couldn't exceed 64K...probably thinking of memos.
Jun 27 '08 #1
3 10628
I've never had to worry about a size limit!

On Jun 23, 10:15*pm, Salad <o...@vinegar.comwrote:
I'm asking this for curiosity's sake. *Is there a code module size limit?

I looked at Access Specifications in help and didn't notice a code limit
* size. *For some odd reason I was under the assumption that code
modules couldn't exceed 64K...probably thinking of memos.
Jun 27 '08 #2
The limits for a Jet 4 db are:

Max 1,024 characters per line.
Max 6,601 lines per procedure.
Max 65,545 lines per module.
Max 1,000 modules per database.
Max 2 GB file size.

But don't go anywhere near those limits. If Access doesn't reach over and
smack you (by giving baffling error messages for no reason), one of your
fellow developers will.

Chris
Microsoft MVP
Salad wrote:
>I'm asking this for curiosity's sake. Is there a code module size limit?

I looked at Access Specifications in help and didn't notice a code limit
size. For some odd reason I was under the assumption that code
modules couldn't exceed 64K...probably thinking of memos.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200806/1

Jun 27 '08 #3
Chris O'C via AccessMonster.com wrote:
The limits for a Jet 4 db are:

Max 1,024 characters per line.
Max 6,601 lines per procedure.
Max 65,545 lines per module.
Max 1,000 modules per database.
Max 2 GB file size.

But don't go anywhere near those limits. If Access doesn't reach over and
smack you (by giving baffling error messages for no reason), one of your
fellow developers will.
There was a thread where somebody's memo field exceeded the memo size
limit. So I was curious about module sizes. I'd have to work to exceed
the limits you provided. Thanks for the info.
>
Chris
Microsoft MVP
Salad wrote:
>>I'm asking this for curiosity's sake. Is there a code module size limit?

I looked at Access Specifications in help and didn't notice a code limit
size. For some odd reason I was under the assumption that code
modules couldn't exceed 64K...probably thinking of memos.

Jun 27 '08 #4

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

Similar topics

9
1965
by: Aurélien Géron | last post by:
Hi all, As a newly converted Python lover, I am impressed at how concise Python code actually is. But really... how concise can it GET? As an experiment to find out the very limits of Python,...
2
3754
by: Bryan Olson | last post by:
The current Python standard library provides two cryptographic hash functions: MD5 and SHA-1 . The authors of MD5 originally stated: It is conjectured that it is computationally infeasible to...
1
6594
by: DB_2 | last post by:
I was looking at DB2 SQL reference books by IBM and saw the maxium size limits on CHAR, VARCHAR and other data types. Is there a similar limit on the total number of bytes per row? In other...
2
28520
by: Kums | last post by:
What is the maximum permissible size of a database? Is there any limitation. What is the maximum # of tablespace's allowed in a database? Thanks for your response.
26
1922
by: William L. Bahn | last post by:
Am I invoking any undefined behavior in the following program? /* Function to print out the bit pattern stored in a variable regardless of type */ #include <limits.h> /* CHAR_BIT */ #include...
37
48600
by: Carol Depore | last post by:
How do I determine the maximum array size? For example, int a works, but a does not (run time error). Thank you.
23
2995
by: | last post by:
hi i try to malloc 2G size mem . so i wirte code like that. it failt in freebsd 5.3 and win2k what's bug in my code ? how can i change it ? thank all :) benjiam
5
7638
by: mrbog | last post by:
My server was working fine (no one else changes it but me, it's a local server on my lan), and all of a sudden I get: Fatal error: session_start(): Failed to initialize storage module: user... ...
36
3755
by: James Harris | last post by:
Initial issue: read in an arbitrary-length piece of text. Perceived issue: handle variable-length data The code below is a suggestion for implementing a variable length buffer that could be used...
0
7108
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
6967
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
7142
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
7181
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
5445
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,...
1
4875
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
3078
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...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.