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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
MS Access Database - Query
I created some queries using MS Access 2003. The queries were created in a
MS Access 2000 database. I gave a copy to my co-worker. My co-worker opened the database in MS Access 2000. Every time he tries to open the query in Designer, the database closes MS Access. No errors, nothing is displayed before it is closed. Has anyone experienced this problem in the past. |
#2
|
|||
|
|||
Jose wrote:
I created some queries using MS Access 2003. The queries were created in a MS Access 2000 database. I gave a copy to my co-worker. My co-worker opened the database in MS Access 2000. Every time he tries to open the query in Designer, the database closes MS Access. No errors, nothing is displayed before it is closed. Has anyone experienced this problem in the past. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yep. It's a corrupted QueryDef. I usually copy the SQL and place it in another QueryDef & delete the old QueryDef. Sometimes it is the actual SQL statement that causes the crash. Then I break up the SQL statement into parts & run the statement; add/subtract parts until it crashes. That way I know which part of the SQL statement is causing the problem & try to find a workaround. Here's how to get the SQL statement out of a QueryDef: Open the Debug window (Ctrl+G) and type the following: ? currentdb.querydefs("query name").sql The SQL statement will appear in the Debug window. Copy it & create a new QueryDef & past the SQL into the SQL View of the new QueryDef. -- MGFoster:::mgf00 at earthlink decimal-point net Oakland, CA (USA) -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBQlxemYechKqOuFEgEQJSYgCgk4pBfGNx17ywEB/K9R5Ayxp1pFIAn0YU L+nS46NGBtHrzas4inDygrDA =MyGN -----END PGP SIGNATURE----- |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't Open Data Source (Query) where criteria is defined by functi | l_stocky | Mailmerge | 7 | January 22nd, 2005 05:09 AM |
Here's a shocker | Mike Labosh | General Discussion | 2 | October 26th, 2004 05:04 PM |
Taher | Setting Up & Running Reports | 1 | August 31st, 2004 09:07 PM | |
What is MDE | Charlie | General Discussion | 4 | August 24th, 2004 04:15 PM |
You do not have exclusive access... ERROR | Robin | General Discussion | 1 | July 6th, 2004 01:18 AM |