We help IT Professionals succeed at work.

How do I search project

joyann
joyann used Ask the Experts™
on
I am trying to search the project I created for certain words.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The project information is stored in a foxpro format dbf file with the extension pjx, so I would try something like the following, depending on where the words are stored, there is a bunch of memo fields in the file that you'd have to determine which one contains the data you are after:

use myproject.pjx
locate for "myword" $ comments

Two fields which may be useful to you are called name and comments.

Commented:
search for the files *.prg or *.pjx
Olaf DoschkeSoftware Developer

Commented:
Where do you want to search in? And what version of foxpro do you have? VFP8/9 have Code Rerferences in the tools menu. You might also want to take a look at Gofish http://vfpx.codeplex.com/wikipage?title=GoFish&referringTitle=Home

Or is it about searching in data? You have Locate, Seek() and SQL-Select for that.

Bye, Olaf.

Commented:
I am trying to search the project I created for certain words.

Are you sure you want to search the Project instead of the project's components - PRG. FRX, SCX, MNX, etc. files?

If the miscellaneous files which make up the project, then it depends on the version of VFP that you have.  Like Olaf mentions above, the later versions of VFP have a tool within the VFP Tools menu

Regardless, since I work in multiple versions of VFP from time to time, I just do text searches within the code directory outside of VFP.
I use 3rd party tools (non-VFP) to find text within files.  
The specific tool I use is one that I also use for File searches on the network where my Windows Search tool fails me.  
I use  AgentRansack  (   http://www.mythicsoft.com/page.aspx?type=agentransack&page=home )

I am not in any way promoting it since there are a number of other comparable search tools out there. But its free and it works.  I'd advise you to find one that you like.

Good Luck
Software Consultant
Commented:
Click on Tools Menu => Code Reference

Click on Search Button

Type your word in "Look For" set your Location in Look in Folder and Press Search Button