I have had problems running Rob's extremly composite Document Analyzer with one of my QVWs, perhaps my doc was too big to analyze like in your case.
I think you can use a button with Select in Field trigger for yourfield with * as search string or a Trigger like Select Possible where you can specify yourfield name in the Field section of the trigger.
This won't definitely give you a list, but will at least give you a way to see the tables or sheets where your the field-you-are-looking-for is used. This might help as a starter.
Perhaps, the community experts can help better.
The only way to do this is with a macro. Take a look at the APIGuide, specifically referencing functions getfield() which would be used for data tables and dimensions() which would be used for graphical charts. You would need to write a loop to search through all objects and all dimensions. Overall, you should probably expect that this won't be a very simple macro.
There is a simpler possibiliy, however. A QVW is, in fact, an XML file that has been renamed to a .QVW extension. Meaning, you can actually read it into another QVW as a source. Here's what you would need to do:
(1) Create a new QVW file, go to the script editor, select Table Files, change the filter to "All Files" and open your main QVW. You will see a bunch of gibberish. Change the File Type to "Xml" and you will magically get a decoded version. Press finish.
(2) You will get an autogenerated list of table loads, but you don't need all of these. Keep only the 2 labeled DocumentSummary and SheetObject, and delete the other loads. Reload the application.
(3) Inside the DocumentSummary table you will see a field called "Definition" that will contain a list of all expressions. You can use the Definition field to search for expressions that use the field that you care about. The field [Expression/ObjectId] in this table will give you the Id of the object that has the expression.
(4) Inside the SheetObject table you will see a field called "Field" that will contain a list of all dimensions. You can use this field to search for dimensions that use the field that you care about. The field [ObjectId] in this table will give you the Id of the object that has the dimension.
Let me know how it works out for you!
This is a very interesting approach.
I have tried the above however I have not been able to get past the first step. When I select the file and change the file type to 'XML' I get the following message onscreen:
An invalid character was found in text content.
On line number: 1. On Column number: 2. System ID:
<file path details i.e. C:\xxx\xxx\
I have tested this with three separate files.
I also see this. I wonder why it doesn't work for us?
EDIT: Ah, silly me. By default, if you browse for the files, the file type is "All Table Files". Since the reload log is named as "MyDocument.QVW" it shows there and I was just clicking on that, instead of the actual QV file. Had to change the file type to "All files" and then I saw th QV file as well
Message was edited by: Henry Backman
Try to make a project folder.
The folder name should be the same as qvw, for example, if your qvw name is 'MyQvw.qvw' then the folder name is 'MyQvw-proj'. Project folder should be in the same directory where the qvw is. Then you open the qvw and press save button then you'll see xml documents generated for all objects in the qvw so you can grep where the field is used!