This dialog box contains options that make it possible for you to search for text. Visual FoxPro adds several ways to access the Find dialog box from the keyboard.
Find Again or open Find dialog box.
Update Find with the word or selected characters at the cursor position.
Update Find with the word or selected characters at the cursor position for a previous occurrence.
- Look For
Specifies the text string for which to search.
To search for special characters, type the following C language representations in the text boxes in the Find dialog box.
To search for Type
New line (line feed)
In Visual FoxPro, searches support wildcards.
These options define the limits and direction of the search. If you specify text to search for and do not get the expected results, make sure you have the correct options selected.
Match CaseВ В В Locates text that exactly matches the combination of uppercase and lowercase letters you type in the Look For box.
Wrap AroundВ В В Searches the current file from the insertion point to the end of the file and then from the beginning of the file to the original insertion point.
Match Whole WordВ В В Locates distinct occurrences of words, not groups of characters inside words.
Search BackwardВ В В Searches backwards from the current insertion point position to the beginning of the file.
Use wildcardsВ В В Makes it possible for you to use wildcard characters in your search text.
With Use wildcards cleared, a literal search is conducted for any characters. When Use wildcards is selected, the following rules apply:
Character Description Usage
Any single character
Specified in place of the missing character.
Zero or more characters
Specified in place of the missing character/s.
Any single digit
Specified in place of the missing digit.
Beginning of a word
Finds expression at beginning of a word.
End of a word
Finds expression at end of a word. Must be placed after characters to search.
Set of characters
Matches any one of the specified characters in the brackets. Set can be a range, separated by a dash (вЂ“) (for example, [a-d]).
Matches any character except those following the exclamation mark in brackets.
Matches the character following the backslash (\). This makes it possible for you to find characters used in the regular expression notation, such as * and >.
- Match CaseВ В В Locates text that exactly matches the combination of uppercase and lowercase letters you type in the Look For box.
Defines how extensive the search is. The Scope options are enabled when you are editing a procedure in a Code window.
Current ProcedureВ В В Searches only the current procedure, which is displayed in the Code window.
Current ObjectВ В В Searches all procedures (event code) in the current (selected) object.
All ObjectsВ В В Searches all procedures (event code) in all objects in the current form or form set. If Wrap Around is selected, only the current method or event, will be searched.
- Current ProcedureВ В В Searches only the current procedure, which is displayed in the Code window.
- Find Next
- Finds the next occurrence of the string you typed in the Look For box.
- Expands the dialog box by adding a Replace All button and the Replace With text entry box, in which you can specify replacement text.