TO VIEW THIS WITH THE FoxPro EDITOR (MODI COMM) TURN WORD-WRAP ON FROM THE
EDIT-PREFERENCES MENU.

It is best viewed and printed with the FoxPro editor, otherwise the TAB allignment may not be correct.
	
jFind v1.0
FoxPro(r) Programming utility

January 1994
****************************************************************
INTRODUCTION
jFind  is a FoxPro 2.5 application which will search all program code associated with a FoxPro project, wherever it is; in .PRG files, screens, menus, reports, labels and included text files.  You provide jFind  with the Project name and what to look for, and let jFind  do the rest.  If you tell it to do so, jFind will replace what it finds with another string.

Back in the days when FoxPro programs were all contained in .PRG files, finding and replacing things in programs was relatively easy.  If, for example, you needed to find every place you used the variable "CUSTNO", all you had to do was to invoke your editor's search function, or use some other generic text search utility.

But then FoxPro 2.0 came along -- and with it snippets!  The advent of snippets allowed program code to be stored within a screen, menu, report, label, as well as in .PRG files.  While this storing of program code within the FoxPro objects can make many programming tasks more organized - generic text utilities no longer work with them.  No longer can you do a quick search through all the program code for "CUSTNO".  Without opening each screen individually, and going to each snippet one at a time, there is no way to find every place something might occur!  jFind is designed to remove this inconvenience of snippets.

jFind is a fairly self explanatory application (We hope!)  Start it up, and give it a whirl.




Please read REGISTER.DOC for information on registering jFind.

When jFind is started a file finder dialog is presented, which you can use to find the project (.PJX file) you wish to have jFind search.  After you have selected a project, the main jFind screen (above) is displayed, with the cursor on the Search for line.  You can enter your search string here, then push the jFind GO! push button.  jFind will search through your code.  If it successfully finds anything, a report will be displayed on the screen (with MODI COMM).  From the File menu you can choose to print the report, save it as a text file, or save the results of the jFind search as a .DBF/.FPT combination.


****************************************************************
SEARCH IN Check boxes:
	Using the Search in: check boxes, you can specify which parts of your project jFind will search.

Ignore Case:
	By checking or un-checking the Ignore Case check box, jFind can be instructed to do case sensitive or case insensitive searches.  Replacements are always made with the exact case keyed into the 'Replace With' field.

Summary/Detail
	The Summary/Detail radio button controls the format of the jFind report.

Search/Replace
	This check box always defaults to Search.  When set to Replace, the Replace With field is enabled.  Whatever is entered into this field will replace whatever is in the Search For field when jFind is run.

	BE VERY CAREFUL WITH THIS FEATURE! IT IS VERY EASY TO BECOME OVERZEALOUS AND REPLACE THINGS YOU DID NOT INTEND TO REPLACE! 

	For Example - if you have a variable called LOC, and choose to replace all occurrences with PLACE, you will also replace all occurrences of the command LOCATE with PLACECATE - which will not work very well!

DOS/Windows check boxes.
	These check boxes control how jFind searches through Screens, Reports, and Labels.  Cross Platform applications can have code and snippets which are different for each application.  If you want jFind to search in only one platform, then disable the other check boxes.

Search For data entry field.
	This is where you would enter the text you want jFind to search for.

Replace With data entry field.
	This field is only accessible when the Search/Replace radio button is set to Replace.  The text entered here will replace the text entered in the Search For data entry field when jFind is run.  If this field is left BLANK, and the Replace radio button is set, then all occurrences of the Search For expression will be deleted.

jFind GO! push button
	This push button runs jFind.

Exit push button
	Exits jFind

New Project push button
	Allows the selection of a new project to search.

****************************************************************
The jFind menus

The jFind system menu has five pads;

File
Edit
Options
Help
Window

The function of each is detailed below:

THE FILE PAD
	The Save, Print Setup, and Print options are available only when reviewing a jFind report.

	Save allows you to save the jFind report either as a text file, or as a .DBF file.

Print Setup
Print
	These two options bring up the standard FoxPro print functions.

Exit
	Exits jFind.  Not available  when a jFind report is displayed.

THE EDIT PAD
	This is the standard FoxPro Edit pad.

THE OPTIONS PAD

	Save jFind preferences upon exit
		When this option is checked, jFind will save the check box options you have selected, as well as the Summary/Detail radio button, Create .BAK files, and Report view with MODI COMM/MODI FILE settings.

		Each time jFind is started this option is checked.

	Create .Bak files
		Tells jFind to create .BAK files for .PRG files which are updated during a search and replace.

		At this point backup files are created for .PRG files only.  .BAK files are not created for any other object such as Screen, Report, Label, Menus and Files.

	Report view with MODI COMM
	Report view with MODI FILE
		Only one of these two options is selected.  When one is selected the other is deselected.

		When jFind finishes its run, it writs its results to a text file, then does a MODI COMM <file> or MODI FILE <file>, depending on the setting of these options.

jFind setup
	Produces a dialog box to facilitate setting up jFind.  This option has no useful function with the non-registered version of jFind.

	Use this dialog box to control how jFind will appear on the System menu.  See the file INSTALL.DOC/INSTALL.WRI for full details.

	Note: The DOS and Windows SYSMENU setup are different.  They are saved seperately by jFind.

THE HELP PAD
	All options function as in regular FoxPro.  The pad About jFind has been added.

THE TEXT PAD
	This is the standard FoxPro TEXT menu pad.

THE WINDOW PAD
	This is the standard FoxPro WINDOW pad.

****************************************************************
jFind tips

1 -	Use the Edit-Preferences dialog to save jFind's Report View layout.

2 -	jFind's preferences are saved in a file called JFIND.INI.  If there is a resource file open, JFIND.INI will be saved in the same directory as the resource file.  Otherwise JFIND.INI will be saved in whatever the current directory is.

	This allows individual users to have different preferences set.


****************************************************************
MISC INFO.

jFind has been thoroughly tested, and has undergone a small beta test cycle.  As with any software, defects may remain.  If you find any, please contact me immediately, and I will do my best to correct jFind as quickly as possible.

jFind goes to the public as is, no warranties expressed, implied, or otherwise are made.  No liability is assumed, or held by the author for any consequences resulting from the use of jFind in any way.
