Incongruous out of memory error when trying to add a function or sub to a module 
Author Message
 Incongruous out of memory error when trying to add a function or sub to a module

Hi,
I just had the error pop up - "Out of memory" - when trying to add a
new sub to my module. This module is definitely less than 64 k in
length and all functions except one are private. There are no public
variables.
Nothing on KB, nothing on MSDN. this is Access 2000 running on windows
2000.
I solved the problem simply by creating a new database and importing
new objects.
This is yet another example of access files randomly becoming corrupt
inexplicably. Long live Borland products.
If anyone had any input to make on this, it would be greatly
appreciated. Thank you
Philippe


Sun, 04 Jul 2004 09:15:54 GMT  
 Incongruous out of memory error when trying to add a function or sub to a module

Quote:

>Hi,
>I just had the error pop up - "Out of memory" - when trying to add a
>new sub to my module. This module is definitely less than 64 k in
>length and all functions except one are private. There are no public
>variables.
>Nothing on KB, nothing on MSDN. this is Access 2000 running on windows
>2000.
>I solved the problem simply by creating a new database and importing
>new objects.

IME this can happen if you *DO* Import objects, *unless* you
immediately Compile the database. Closing the database in an
uncompiled state (especially after an import, apparently) can cause
these bogus errors.

                  John W. Vinson[MVP]    
    Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public



Sun, 04 Jul 2004 13:01:48 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error trying to use a Mid point function in a module

2. How to automatically add error handler to sub/function

3. trying to start a form, from a MAIN sub in a module

4. Calling a sub or function using a variable through another sub or function

5. Returning sub or function name within a specific sub or function

6. Local function/sub inside function/sub

7. Passing Value from Module Function to Form sub problem

8. Deleting a Sub or Function from a Module via Code

9. Form, module, class and sub or function names at runtime

10. Retrieve name of current sub/function and name of current module

11. Bad Calling Convention error 49 - due to calling a Sub in a .bas module

12. adding a sub or function

 

 
Powered by phpBB® Forum Software