0

Any time I try to decompile my access DB it says:

‘MSACCESS.EXE’ is not recognized as an internal or external command, operable program or batch file.

Here is the command I am using to decompile my DB:
C:\Program files\Microsoft Office\root\Office16\MSACCESS.EXE /decompile.

What am I doing wrong?

June7
  • 19,874
  • 8
  • 24
  • 34
Douk
  • 37
  • 1
  • 11
  • 2
    You need quotes around the path with spaces. – Andre Apr 29 '19 at 10:46
  • 2
    Possible duplicate of [How does one decompile and recompile a database application?](https://stackoverflow.com/questions/3266542/how-does-one-decompile-and-recompile-a-database-application) – Andre Apr 29 '19 at 10:46
  • Like this: `"C:\Program Files\Microsoft Office\root\Office16\MSACCESS.EXE" /decompile`. – Gustav Apr 29 '19 at 10:48
  • I did as you said, and I am still getting the same error – Douk Apr 29 '19 at 11:11
  • 1
    On a proper installation, `MSACCESS.EXE /decompile` should suffice. If it doesn't, consider running the Office installer in repair mode to make sure MSACCESS.EXE is registered properly. – Erik A Apr 29 '19 at 12:39
  • What is the error message you get? – Siyon DP Apr 29 '19 at 13:18
  • @Gustav was right when I put the double quotes around the path it worked, but it is just not solving my problem – Douk Apr 29 '19 at 14:34
  • which is "Id is not an index in this table". I thought decompile will solve the problem, but it is not. – Douk Apr 29 '19 at 14:38
  • That sounds more like a table error. Decompile can't help on that. Try Compact & Repair, or create a new database and import all objects from the old. – Gustav Apr 29 '19 at 15:06
  • I tried Compact and Repair that didn't work. I created a new DB and tried to export the objects, but I was only able to export the tables Not the forms nor the reports. – Douk Apr 29 '19 at 15:11
  • This error is driving me nuts – Douk Apr 29 '19 at 15:12
  • The error prevents me from exporting the forms or the reports – Douk Apr 29 '19 at 15:27
  • I tried importing all the objects, but this option is not working on the forms or the reports either. it still gives me the error message "id is not an index in this table" when I click OK on the last step of the import or export dialog box. – Douk Apr 29 '19 at 15:59
  • You should close this question and open a new one with the real problem clearly defined. – HackSlash Apr 29 '19 at 17:13

0 Answers0