A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

making a MDE file



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2008, 06:37 PM posted to microsoft.public.access.tablesdbdesign
csumb
external usenet poster
 
Posts: 11
Default making a MDE file

when i try to create a MDE file i get the following error message. Can anyone
help or point me to someone who can?

Thanks

This error is usually associated with compiling a large database into an MDE
file. Due to the method used to compile the database, a considerable number
of TableID references are created for each table. The Microsoft Jet database
engine version 4.0 can only create a maximum of 2048 open TableIDs at one
time. Exporting a database as an MDE potentially can exceed this limit if
the database has a large number of objects (table, macro, form, report, etc).
There is no accurate method to estimate the number of TableIDs the Jet
database engine uses during the process of compiling a database as an MDE.
However, each VBA module and each form uses one TableID, as a result, if the
database has 500 forms, and each form's HasModule property is set to Yes, as
many as 1,000 TableIDs are used.

  #2  
Old September 15th, 2008, 06:49 PM posted to microsoft.public.access.tablesdbdesign
Chris O'C via AccessMonster.com
external usenet poster
 
Posts: 1,160
Default making a MDE file

Make sure the code compiles and the db is in the same db file format as the
version of Access you're using. For instance, Access 2003 won't make an mde
out of an Access 2K format mdb. You'd need to convert it to Access 2002-2003
db format first and then convert that to mde.

Chris
Microsoft MVP


csumb wrote:
when i try to create a MDE file i get the following error message. Can anyone
help or point me to someone who can?

Thanks

This error is usually associated with compiling a large database into an MDE
file. Due to the method used to compile the database, a considerable number
of TableID references are created for each table. The Microsoft Jet database
engine version 4.0 can only create a maximum of 2048 open TableIDs at one
time. Exporting a database as an MDE potentially can exceed this limit if
the database has a large number of objects (table, macro, form, report, etc).
There is no accurate method to estimate the number of TableIDs the Jet
database engine uses during the process of compiling a database as an MDE.
However, each VBA module and each form uses one TableID, as a result, if the
database has 500 forms, and each form's HasModule property is set to Yes, as
many as 1,000 TableIDs are used.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1

  #3  
Old September 15th, 2008, 08:27 PM posted to microsoft.public.access.tablesdbdesign
Dale Fye
external usenet poster
 
Posts: 2,651
Default making a MDE file

Although it appears that 2007 will make an mde file from a 2003 formatted mdb
file.

I had this problem too, but as soon as I cleaned up a couple of code
segments that didn't compile properly, it worked OK.

--
HTH
Dale

Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.



"Chris O'C via AccessMonster.com" wrote:

Make sure the code compiles and the db is in the same db file format as the
version of Access you're using. For instance, Access 2003 won't make an mde
out of an Access 2K format mdb. You'd need to convert it to Access 2002-2003
db format first and then convert that to mde.

Chris
Microsoft MVP


csumb wrote:
when i try to create a MDE file i get the following error message. Can anyone
help or point me to someone who can?

Thanks

This error is usually associated with compiling a large database into an MDE
file. Due to the method used to compile the database, a considerable number
of TableID references are created for each table. The Microsoft Jet database
engine version 4.0 can only create a maximum of 2048 open TableIDs at one
time. Exporting a database as an MDE potentially can exceed this limit if
the database has a large number of objects (table, macro, form, report, etc).
There is no accurate method to estimate the number of TableIDs the Jet
database engine uses during the process of compiling a database as an MDE.
However, each VBA module and each form uses one TableID, as a result, if the
database has 500 forms, and each form's HasModule property is set to Yes, as
many as 1,000 TableIDs are used.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1


  #4  
Old September 15th, 2008, 08:38 PM posted to microsoft.public.access.tablesdbdesign
Chris O'C via AccessMonster.com
external usenet poster
 
Posts: 1,160
Default making a MDE file

It will crash in Access 2003 whenever it encounters Access 2007-only vba.

Chris
Microsoft MVP


Dale Fye wrote:
Although it appears that 2007 will make an mde file from a 2003 formatted mdb
file.

I had this problem too, but as soon as I cleaned up a couple of code
segments that didn't compile properly, it worked OK.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1

  #5  
Old September 15th, 2008, 09:09 PM posted to microsoft.public.access.tablesdbdesign
csumb
external usenet poster
 
Posts: 11
Default making a MDE file

I checked and it has been convertied to 2003,
But it still will not work i still get the same error message, any other
Ideas?

thanks

"Chris O'C via AccessMonster.com" wrote:

It will crash in Access 2003 whenever it encounters Access 2007-only vba.

Chris
Microsoft MVP


Dale Fye wrote:
Although it appears that 2007 will make an mde file from a 2003 formatted mdb
file.

I had this problem too, but as soon as I cleaned up a couple of code
segments that didn't compile properly, it worked OK.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1


  #6  
Old September 16th, 2008, 12:34 AM posted to microsoft.public.access.tablesdbdesign
Dale Fye
external usenet poster
 
Posts: 2,651
Default making a MDE file

Did you confirm that it will compile?

In the VBA editor window, select the Debug - Compile menu option. If it
doesn't compile, it will highlight the code segment that is failing. Keep
doing this until it compiles completely (the Compile option will be disabled
when it has compiled properly). Then try making the mde again.

Dale

"csumb" wrote in message
...
I checked and it has been convertied to 2003,
But it still will not work i still get the same error message, any other
Ideas?

thanks

"Chris O'C via AccessMonster.com" wrote:

It will crash in Access 2003 whenever it encounters Access 2007-only vba.

Chris
Microsoft MVP


Dale Fye wrote:
Although it appears that 2007 will make an mde file from a 2003
formatted mdb
file.

I had this problem too, but as soon as I cleaned up a couple of code
segments that didn't compile properly, it worked OK.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1




  #7  
Old September 16th, 2008, 01:00 AM posted to microsoft.public.access.tablesdbdesign
csumb
external usenet poster
 
Posts: 11
Default making a MDE file

Yes that did it thank you very much
after i compiled and made it into a mde file
how do i get rid of the tool bar at the top?

"Dale Fye" wrote:

Did you confirm that it will compile?

In the VBA editor window, select the Debug - Compile menu option. If it
doesn't compile, it will highlight the code segment that is failing. Keep
doing this until it compiles completely (the Compile option will be disabled
when it has compiled properly). Then try making the mde again.

Dale

"csumb" wrote in message
...
I checked and it has been convertied to 2003,
But it still will not work i still get the same error message, any other
Ideas?

thanks

"Chris O'C via AccessMonster.com" wrote:

It will crash in Access 2003 whenever it encounters Access 2007-only vba.

Chris
Microsoft MVP


Dale Fye wrote:
Although it appears that 2007 will make an mde file from a 2003
formatted mdb
file.

I had this problem too, but as soon as I cleaned up a couple of code
segments that didn't compile properly, it worked OK.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200809/1





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.