Solved

How to know where my query in the vb code

Posted on 2008-10-08
5
149 Views
Last Modified: 2012-05-05
i have a query called "search" in access object

i need to know where the code is called in my vb developed application.

how can i find that ?
0
Comment
Question by:jaisonshereen
5 Comments
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 100 total points
ID: 22672533
By "vb developed application" do you mean you have an application in Visual Basic, or you have an Access application with VBA code? They are two entirely different things ...

For Access - Rick Fisher's Find and Replace will do it: www.rickworld.com

For either - MZ tools may be able to do this: www.mz-tools.com.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 22672557
Pick Find from the menu. Look for "Search". Select last option Entire project.

/gustav
0
 

Author Comment

by:jaisonshereen
ID: 22672664
Pick Find from the menu. Look for "Search". Select last option Entire project.

this meathod is not working , i cannot find any "query"

But in database window i can see the query

so ..is it mandatory that , i will not be having a "query" which is there in database window , is mandatory in the vb code ?

LSMConsulting:

it is an access application with vba code !
0
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 200 total points
ID: 22672745
> i cannot find any "query"

Then your query is not executing from code.

A query object is not generated with VBA code. It lives by itself.

/gustav
0
 
LVL 65

Assisted Solution

by:RobSampson
RobSampson earned 200 total points
ID: 22673339
Hi, try picking Find from the menu. Look for "select", then select to search the Entire project.

If there is no SELECT query in the code, then look for
DoCmd.OpenQuery
or
DoCmd.RunSQL

Regards,

Rob.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now