Hi,
I have an app (lost the source code) that performs many different
queries in order to achieve the results I'm looking for. Re-developing
the app isn't really a big issue...but what would be is trying to
figure out how I did the original database queries (SQL Syntax I used)
I was wondering if there was a way in Access to log all queries made to
a database...or alternatively, was there any app that you guys new of
that can monitor an access database and somehow view any queries made
to it?
By queries, I mean Inserts, Updates, Deletes AND Read
queries...especially READ queries.
Thanks for your time.
Mary. 11 7986
<ma************@hotmail.com> wrote I have an app (lost the source code) that performs many different queries in order to achieve the results I'm looking for. Re- developing the app isn't really a big issue... but what would be is trying to figure out how I did the original database queries (SQL Syntax I used)
In what form is the Access application you have?
You can see the Queries in either an .MDB or an .MDE (the "compiled" MDE
simply tokenizes VBA code and locks design view on Access objects which can
have a code module). It may be that simply holding down the Shift key as you
start the application, or once it is executing, pressing F11 to see the
database window will let you view your Queries, in the Query Builder which
has an option to display the SQL.
If you cannot, then it is possibly a problem that you have Access security
applied and do not have the appropriate permissions. There are so many
third-party security cracks for Access databases that breaking security
should not be insurmountable. Although it may cost you, most of the
"password recovery" packages I have heard about cost US$150 or less.
Unlike C and other "programming languages", Access does not have a way to
compile to executable. And since the only "compilation" (usually called
"preparation") of Queries would be by the database engine, those are not
affected by "compiling" the Access application to MDE.
Larry Linson
Microsoft Access MVP
Hi Larry,
Thanks for the reply. I'm sorry, I guess I wasn't too specific in
outlining my problem. Let me clarify...
The App is a compiled VB6 program that makes use of an Access 2000
Database. All the queries are generated on-the-fly by this program...ie
they are not stored in the database.
I have the .exe file and the .mdb file. What I don't have is the source
code I used to generate the .exe (result of HD crash).
So, I have the app that works fine, but now I need to make
modifications to it.
When I wrote the app I remember that I used some pretty wicked SQL
statements to get the results I needed. It took a long time to get them
working right. I'm not looking forward to going through that drama
again.
This is why I was wanting to know if I could set the database to log
any queries (especially "read"), or if there was an app I could run
that could moniitor a specified DB, then I could run my app and
hey-presto, I'd have my SQL queries back.
I hope this helps.
Regards,
Mary.
Larry Linson wrote: <ma************@hotmail.com> wrote
> I have an app (lost the source code) that > performs many different queries in order > to achieve the results I'm looking for. Re- > developing the app isn't really a big issue... > but what would be is trying to figure out > how I did the original database queries > (SQL Syntax I used) In what form is the Access application you have?
You can see the Queries in either an .MDB or an .MDE (the "compiled"
MDE simply tokenizes VBA code and locks design view on Access objects
which can have a code module). It may be that simply holding down the Shift key
as you start the application, or once it is executing, pressing F11 to see
the database window will let you view your Queries, in the Query Builder
which has an option to display the SQL.
If you cannot, then it is possibly a problem that you have Access
security applied and do not have the appropriate permissions. There are so
many third-party security cracks for Access databases that breaking
security should not be insurmountable. Although it may cost you, most of the "password recovery" packages I have heard about cost US$150 or less.
Unlike C and other "programming languages", Access does not have a
way to compile to executable. And since the only "compilation" (usually
called "preparation") of Queries would be by the database engine, those are
not affected by "compiling" the Access application to MDE.
Larry Linson Microsoft Access MVP
I worked on some Access client to server DB projects with a DBA who had a
package that recorded the SQL that was transmitted from the ODBC drivers to
the server DB. I don't know that I ever knew the name of the package he
used.
I am not aware of a similar product for catching and recording what is sent
between VB and the Jet database engine -- but that does not mean there isn't
one.
Larry Linson
Microsoft Access MVP
<ma************@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... Hi Larry,
Thanks for the reply. I'm sorry, I guess I wasn't too specific in outlining my problem. Let me clarify...
The App is a compiled VB6 program that makes use of an Access 2000 Database. All the queries are generated on-the-fly by this program...ie they are not stored in the database.
I have the .exe file and the .mdb file. What I don't have is the source code I used to generate the .exe (result of HD crash).
So, I have the app that works fine, but now I need to make modifications to it. When I wrote the app I remember that I used some pretty wicked SQL statements to get the results I needed. It took a long time to get them working right. I'm not looking forward to going through that drama again.
This is why I was wanting to know if I could set the database to log any queries (especially "read"), or if there was an app I could run that could moniitor a specified DB, then I could run my app and hey-presto, I'd have my SQL queries back.
I hope this helps.
Regards,
Mary.
Larry Linson wrote: <ma************@hotmail.com> wrote
> I have an app (lost the source code) that > performs many different queries in order > to achieve the results I'm looking for. Re- > developing the app isn't really a big issue... > but what would be is trying to figure out > how I did the original database queries > (SQL Syntax I used)
In what form is the Access application you have?
You can see the Queries in either an .MDB or an .MDE (the "compiled" MDE simply tokenizes VBA code and locks design view on Access objects which can have a code module). It may be that simply holding down the Shift key as you start the application, or once it is executing, pressing F11 to see the database window will let you view your Queries, in the Query Builder which has an option to display the SQL.
If you cannot, then it is possibly a problem that you have Access security applied and do not have the appropriate permissions. There are so many third-party security cracks for Access databases that breaking security should not be insurmountable. Although it may cost you, most of the "password recovery" packages I have heard about cost US$150 or less.
Unlike C and other "programming languages", Access does not have a way to compile to executable. And since the only "compilation" (usually called "preparation") of Queries would be by the database engine, those are not affected by "compiling" the Access application to MDE.
Larry Linson Microsoft Access MVP
Larry Linson wrote: I worked on some Access client to server DB projects with a DBA who had a package that recorded the SQL that was transmitted from the ODBC drivers to the server DB. I don't know that I ever knew the name of the package he used.
I am not aware of a similar product for catching and recording what is sent between VB and the Jet database engine -- but that does not mean there isn't one.
Larry Linson Microsoft Access MVP
I believe you can turn on the Trace facility in ODBC (most likely
through the Control Panel applet, Administrative tools, Data Sources,
Tracing tab in XP) and that log may have the SQL statement in it.
Beware that the log grows very big very fast on an active db.
--
'---------------
'John Mishefske
'---------------
Thanks Larry and John...
The app does not use an ODBC connection to access the database, so I
can't use the tracing facility.
However, I had a thought that if it did use an odbc connection, then
perhaps this tracing facility is just what I need.
So, with that in mind, I tried placing the tables in another mdb
database and linking the tables into the db the app uses via an odbc
connection. I soon discovered the linking facility in Access does not
let you link to another mdb database through odbc (which I thought was
odd).
Not to be put off, I moved the tables to an informix database and
linked the mdb database the app uses to point to these tables. This
worked ok and the app runs fine, but when I turn on the tracing for
odbc connections, nothing gets populated in the log file.
I can't figure out why it's empty. Either I've done something wrong
(most likely) or perhaps it's because I'm not accessing the database
directly through odbc so nothing is written to the log.
I guess I'm back to square one and have to try re-building the queries
from scratch...groan...
Thanks for your feed back though, I appreciate it.
Mary.
Mary,
I specialize in adding more functionality to existing applications,
modifying existing applications and fixing problems in existing
applications. I am very good at this and could rebuild your queries from
scratch for you. If you are interested in having me help you, contact me at
my email address below.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications re******@pcdatasheet.com www.pcdatasheet.com
<ma************@hotmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com... Hi,
I have an app (lost the source code) that performs many different queries in order to achieve the results I'm looking for. Re-developing the app isn't really a big issue...but what would be is trying to figure out how I did the original database queries (SQL Syntax I used)
I was wondering if there was a way in Access to log all queries made to a database...or alternatively, was there any app that you guys new of that can monitor an access database and somehow view any queries made to it?
By queries, I mean Inserts, Updates, Deletes AND Read queries...especially READ queries.
Thanks for your time.
Mary.
"PC Datasheet" <no****@nospam.spam> schreef in bericht
news:HO*****************@newsread3.news.atl.earthl ink.net... Mary,
I specialize in adding more functionality to existing applications, modifying existing applications and fixing problems in existing applications. I am very good at this and could rebuild your queries from scratch for you. If you are interested in having me help you, contact me at my email address below.
You seem to just specialize in advertising and job-hunting in the groups here.
Check out: http://www.google.com/groups?as_q=co...ng=d&lr=&hl=nl
Arno R
You're a jerk!!
I don't see you making a helpful suggestion to Mary. In fact, I don't recall
ever seeing a helpful suggestion to any poster from you. Why don't you go
fill up a large stein of your lousy lager, go out by the Danube and see how
fast you can gulp it down! Then go up to Berlin and see how long it takes
you to rebuild the wall one stone at a time.
"Arno R" <ar****************@tiscali.nl> wrote in message
news:42**********************@dreader2.news.tiscal i.nl... "PC Datasheet" <no****@nospam.spam> schreef in bericht news:HO*****************@newsread3.news.atl.earthl ink.net... Mary,
I specialize in adding more functionality to existing applications, modifying existing applications and fixing problems in existing applications. I am very good at this and could rebuild your queries from scratch for you. If you are interested in having me help you, contact me
at my email address below. You seem to just specialize in advertising and job-hunting in the groups
here. Check out: http://www.google.com/groups?as_q=co...dress%20&as_ua
uthors=PC%20Datasheet%20&as_scoring=d&lr=&hl=nl Arno R
PC Datasheet wrote: You're a jerk!!
I don't see you making a helpful suggestion to Mary. In fact, I don't recall ever seeing a helpful suggestion to any poster from you.
And you are, demonstrably, by what I've snipped from your post, a bigot.
Based on your previous disgraceful behaviour, I'm guessing "MAry JOnes"
is another one of your fradulent personae.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
hmmm...I didn't expect my post for assistance to generate such a
commotion.
For the record, I can assure you that I am not an alias of "PC
Datasheet" nor have I ever heard of this person until now. My post was
an honest request for assistance from the people that frequent this
newsgroup.
Mary. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Robert |
last post by:
I am having performance issues on a SQL query in Access. My query is
accessing and joining several tables (one very large one). The tables are...
|
by: Adam Louis |
last post by:
I would like help resolving this problem. I'm a novice who's been
hired to query a hospital database and extract useful information,
available to...
|
by: Joe Stanton |
last post by:
Hello Group
I have a query that works in Oracle and SQL Server, but fails in Microsoft
Access.
The query is:
SELECT data fromTABLE1 WHERE...
|
by: jjturon |
last post by:
Can anyone help me??
I am trying to pass a Select Query variable to a table using Dlookup
and return the value to same select query but to...
|
by: Stan |
last post by:
I am working with Access 2003 on a computer running XP. I am new at
using Access. I have a Db with a date field stored as mm/dd/yyyy. I
need a...
|
by: funky |
last post by:
hello,
I've got a big problem ad i'm not able to resolve it. We have a server
running oracle 10g version 10.1.0. We usually use access as front end...
|
by: mnjkahn via AccessMonster.com |
last post by:
I'm running Access 2003, modifying a query that has over 45 fields. When I
right click on the field name in Query Design View, and then click...
|
by: jsacrey |
last post by:
Hey everybody, got a secnario for ya that I need a bit of help with.
Access 97 using linked tables from an SQL Server 2000 machine.
I've...
|
by: existential.philosophy |
last post by:
This is a new problem for me: I have some queries that open very
slowly in design view.
My benchmark query takes about 20 minutes to open in...
|
by: Sinner |
last post by:
Hi,
I have a field name 'USER' in tableMAIN.
How do I replace the user names with corresponding user names. I can
do that in xl using vlookup...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
| |