PC Review


Reply
Thread Tools Rate Thread

Corrupted VBA project

 
 
=?Utf-8?B?YWxpIGt3b2s=?=
Guest
Posts: n/a
 
      31st Jan 2004
I had an mdb file created in Access 2002 SP(None); worked on in SP2; worked on again in SP(none); finally in SP2, where VBA project has become corrupt (according to Compact/Repair tools) - get repeated "Id is not an index in this table" error message whenever accessing an object, and can't view modules at all. "JetComp" utility can't recover either. Has anyone had similar problem?
 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      2nd Feb 2004
"ali kwok" <(E-Mail Removed)> wrote in message
news:45CA1447-27D1-4B85-9CC4-(E-Mail Removed)
> I had an mdb file created in Access 2002 SP(None); worked on in SP2;
> worked on again in SP(none); finally in SP2, where VBA project has
> become corrupt (according to Compact/Repair tools) - get repeated "Id
> is not an index in this table" error message whenever accessing an
> object, and can't view modules at all. "JetComp" utility can't
> recover either. Has anyone had similar problem?


Have you tried decompiling a copy of this database? There's a
barely-documented /decompile command-line switch, with a syntax like
this:

msaccess.exe /decompile "C:\Path To\YourDB.mdb"

Do this only to a *copy* of your database, as it has on rare occasions
been known to make things worse.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 
Reply With Quote
 
ali kwok
Guest
Posts: n/a
 
      2nd Feb 2004
Thanks very much for your reply Dirk, it was more than I
expected - I'll try your suggestion and post what happens.

Ali

>-----Original Message-----
>"ali kwok" <(E-Mail Removed)> wrote

in message
>news:45CA1447-27D1-4B85-9CC4-(E-Mail Removed)
>> I had an mdb file created in Access 2002 SP(None);

worked on in SP2;
>> worked on again in SP(none); finally in SP2, where VBA

project has
>> become corrupt (according to Compact/Repair tools) -

get repeated "Id
>> is not an index in this table" error message whenever

accessing an
>> object, and can't view modules at all. "JetComp"

utility can't
>> recover either. Has anyone had similar problem?

>
>Have you tried decompiling a copy of this database?

There's a
>barely-documented /decompile command-line switch, with a

syntax like
>this:
>
> msaccess.exe /decompile "C:\Path To\YourDB.mdb"
>
>Do this only to a *copy* of your database, as it has on

rare occasions
>been known to make things worse.
>
>--
>Dirk Goldgar, MS Access MVP
>www.datagnostics.com
>
>(please reply to the newsgroup)
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lots of type 'xxxxxxx' is not defined errors when migrating web site project to web app project John Dalberg Microsoft ASP .NET 1 24th Mar 2007 03:21 PM
Project-->Project References Large Project DonJefe Microsoft C# .NET 3 25th Jan 2007 09:23 PM
Project file corrupted =?Utf-8?B?VHhBZ2dpZTk0?= Microsoft VC .NET 2 23rd May 2005 04:49 PM
Open an Existing Project (Remove a project from the project list) =?Utf-8?B?ZHJvb3Bl?= Microsoft Dot NET 1 19th Jan 2005 08:36 AM
Corrupted Project Robert Robichaud Microsoft Access ADP SQL Server 4 29th Jan 2004 05:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:40 PM.