Contents
- Index
- Previous
- Next
Step 2: Find "Used By" Dependencies
You can find two kinds of dependencies: Used By (described here), and Uses (described next).

What is 'Used By'?
- Used By is a standard cross-reference type of function: Given a particular object name (e.g. Invoices Filter), we want to find all places in this application where that name occurs.
- Note: this will also work for any string you wish to search for. See Find String References as an example.
How to do it?
- It's very simple. On the main form, click on the Dep's button for the object you want to search for. (Or, place the cursor in that row, and press F9.) The form above will come up.
- To see example results, look further below.
'Used By' Dependencies Checkbox
- Be sure this is selected.
Match Whole Words Only
- Check this if you wish to restrict matches to only whole words.
- For instance, searching for "Filter", and we come across a control on a form called "Filtering".
- if Match Whole Words Only is not checked, we've got a match, and a Used By record will be created.
- if Match Whole Words Only is checked, there is no match, and a Used By record will not be created.
Ignore Pass-Thru Queries
-
It may happen
that connections for these types of queries are unavailable, or perhaps
slow. Check this to ignore these query types.
Search Only in these Object Types
You
may wish to have the search focus on one or more specific object types here.
This is a multi-select list box, so you can press Ctrl key while clicking
for separate selections. (Or, Shift key for contiguous selection.)
Sample Results Explained
- The Used By results displayed in the sample screen below will now be described.
- We see that the string "Invoices Filter" was located (Used By) in two places in the NorthWind application. (See the two rows with light blue background color.) The log tells us the string was found in the code for the Orders form, specifically on lines 6 and 8 of the procedure PrintInvoice_Click.
- If you would click on the
, or press F5 with the cursor in that row, the program will open up directly to that line of code!
