Jamie,
Not really, but if you have enough space to copy your app to another machine, (I don't recommend trying this on the same machine that it normally runs on, as that can lead to detrimental behaviour...)
Copy the entire application to another directory. Then, make a directory called "KEEP", in your new location. Copy *.DBF, *.FPT, *.CDX, *.IDX into the keep directory. Then, delete *.dbf, *.fpt, *.cdx, *.idx. Start the app. It WILL complain. (Or at least as soon as you try to do something, it's very likely). Slowly add the corresponding DBF & associated files back into the directory, until you discover which ones you need, and which ones you don't. You wil need to litterally perform every function the application requires during this trial, and if it's a big app, it can become teidous, but if you areally want to clean it up, that is one way to do it without the need to know any code.
Aside from that, there are 2 other things you can do if you have all the code/screens, etc. Open each form. Open all snipets, and do a search for the USE command. USE will always preceed the opening of a table. This may not be fool-proof though. While you're in the form (if it uses forms), you'll need to look at the VIEW window. Before you open the screen, in the command window type:
CLOSE DATA
Then, open your screen. Then, click on Window, and then View. If there are tables in the Work Area, that will indicate that there is an associated "Data Environment" with the screen. Now, that will only be relevent if from the project, the "OPEN/CLOSE" check box is set on. To find that out, open the project, click on the screen set item in the project menu. Then, click the edit button. On the window that appear, click the MORE>> button. There are a bunch of check boxes, the top left two of which will be "OPEN DATABASES" and "CLOSE DATABASES". If they are check on, then your form is using the data tables defined in the view window.
But, to understand which tables are opend by what screen, you must enter that CLOSE DATA command before opening a screen, or they will remain open in the view window, and you will get confused. (If you're not already...)
Best Regards,
Scott
"Everything should be made as simple as possible, and no simpler."
![[hammer] [hammer] [hammer]](/data/assets/smilies/hammer.gif)