In the Database window, on the Tables tab, does the icon for this table have
a little arrow next to it? If so, you have not imported the table, but
linked it. That would be why you get the message that you can't change the
way the table is designed, because the data is defined in another program,
not Access. If you intended to import it:
File | Get External | Import.
If you are saying that Access closes with a message along the lines of "...
shut down by Windows... Sorry for the inconvenience", then somehing is wrong
with it. Try this:
1. Uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html
2. Compact the database to get rid of this junk:
Tools | Database Utilities | Compact/Repair
3. Close Access. Make a backup copy of the file. Decompile the database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
4. Open Access (holding down the Shift key if you have any startup code),
and compact again.
If it still crashes, try importing the data instead of linking it. You
should be able to open the Properties box in query design. If it crashes
only when you run the query (not when you try to set the query property),
switch the query to SQL View (View menu), and paste the SQL statement here.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
"(e-mail address removed)" <
[email protected]>
wrote in message