Mystifying behavior in access-db

Tiger955

Registered User.
Local time
Today, 05:20
Joined
Sep 13, 2013
Messages
140
Hi!

I have suddenly a very mystifying behavior in an access 2010 front-end which DELETES a certain pass-through query from time to time.

The query sends an sql-string to the sql-server and retrieves the data from the server.

The same structure of data-retrieving I use in many othere databases as well without problem.

I also created the disappeared query for new, using another name to store it in my database.

After almost every use of this query is vanishes.

Any idea?
Any solution?

Thanks your help.
 
My first thought is to search for code that deletes it. Control-F in the VBA editor will help with that.
 
As neither the datebase is new, nor the code in VBA is new, I am puzzled.
So there is no code who deletes this query.
 
I think I found the reason of deleting the query:

two events which runs at the same time used the same query. This might be the reason for the deletion. After changing this, the query does not vanish anymore.
 
I can't imagine why that would delete the query, but glad you solved the problem.
 

Users who are viewing this thread

Back
Top Bottom