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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access closes when query run



 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2007, 09:52 PM posted to microsoft.public.access.queries
tcek
external usenet poster
 
Posts: 48
Default Access closes when query run

i am running a query that simply links several odbc tables and queries. when
i run the query, access shuts down and the program exits entirely. all i see
then is my desktop. any ideas what could be happening?
  #2  
Old August 22nd, 2007, 12:08 AM posted to microsoft.public.access.queries
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Access closes when query run

By what means are you initiating the start of the query?
Button on a form? A macro?
--
KARL DEWEY
Build a little - Test a little


"tcek" wrote:

i am running a query that simply links several odbc tables and queries. when
i run the query, access shuts down and the program exits entirely. all i see
then is my desktop. any ideas what could be happening?

  #3  
Old August 22nd, 2007, 12:41 AM posted to microsoft.public.access.queries
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Access closes when query run

On Tue, 21 Aug 2007 13:52:02 -0700, tcek
wrote:

i am running a query that simply links several odbc tables and queries. when
i run the query, access shuts down and the program exits entirely. all i see
then is my desktop. any ideas what could be happening?


Some error in either your code, the SQL of the query, or your installation of
Access.

Please post your code and the SQL of the query. Have you tried compacting and
repairing the database?

John W. Vinson [MVP]
  #4  
Old August 22nd, 2007, 06:02 PM posted to microsoft.public.access.queries
tcek
external usenet poster
 
Posts: 48
Default Access closes when query run

must have been the code because when i rewrote the entire query, the problem
was solved

"John W. Vinson" wrote:

On Tue, 21 Aug 2007 13:52:02 -0700, tcek
wrote:

i am running a query that simply links several odbc tables and queries. when
i run the query, access shuts down and the program exits entirely. all i see
then is my desktop. any ideas what could be happening?


Some error in either your code, the SQL of the query, or your installation of
Access.

Please post your code and the SQL of the query. Have you tried compacting and
repairing the database?

John W. Vinson [MVP]

 




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 08:39 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.