G
Guest
I've written an Access 2003 program that reads the SQL from a query, and
occasionaly deletes the SQL associated with that query. After reviewing the
code, I found that I had failed to release the QueryDef object I had set to
the query. Is this likely to be the reason for the SQL Deletion from the
query?
The query in question is Overly complex, referencing multiple crosstab
queries. I'm not particularly proud of it. If the unreleased Object is
unlikely to be the reason for the Queries underlying SQL statement being
deleted, then my next best guess is that my subconscious is psychically
deleting the SQL in shame of having written such poor SQL, as this doesn't
seem to happen with any other query.
It is well known Axiom that with great power comes great responsibility.
Should I discover I had such psychic powers, I would feel obligated to fight
the proliferation of Poorly written SQL where ever it could be found. Which
would cut into my TV time. That said, I would prefer to identify a different
cause to my dilemma.
Any suggestions?
occasionaly deletes the SQL associated with that query. After reviewing the
code, I found that I had failed to release the QueryDef object I had set to
the query. Is this likely to be the reason for the SQL Deletion from the
query?
The query in question is Overly complex, referencing multiple crosstab
queries. I'm not particularly proud of it. If the unreleased Object is
unlikely to be the reason for the Queries underlying SQL statement being
deleted, then my next best guess is that my subconscious is psychically
deleting the SQL in shame of having written such poor SQL, as this doesn't
seem to happen with any other query.
It is well known Axiom that with great power comes great responsibility.
Should I discover I had such psychic powers, I would feel obligated to fight
the proliferation of Poorly written SQL where ever it could be found. Which
would cut into my TV time. That said, I would prefer to identify a different
cause to my dilemma.
Any suggestions?