Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I want to analyze an existing access application for reengineering-purpose. Therefore I've to read out all code (including the Queries) I can get. Throughout I would be able to analyzie the Code with my own Algo.

How Can I get to the "Source-Codes" of the Access-Queries?

Thanks. :)

What I have tried:

I already got thier names over the Access Application Object over:

<pre>Access.Application.CurrentData.AllQueries


But I only can retrieve the Information over the abstracted Interface of the
AccessObject
.

I found nothing in MSDN until now and my Search Criterias in Google don't find things... needed. Can you give me a Hint?
Posted
Updated 11-Oct-17 21:36pm

1 solution

You can't get the queries themselves: they are part of the code that gets info from the access engine, and are effectively just text strings in that code (hopefully with parameterised queries rather than string concatenation). The engine itself does not store a history of "I was asked this SELECT, and then that INSERT".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900