Avatar of joyann
joyann
Flag for United States of America asked on

How do I search project

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

Avatar of undefined
Last Comment
Kalpesh Chhatrala

8/22/2022 - Mon
AndrewJen

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.
Pintuka

search for the files *.prg or *.pjx
Olaf Doschke

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
jrbbldr

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
ASKER CERTIFIED SOLUTION
Kalpesh Chhatrala

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question