Home > Archive > FoxPro Help and Support > January 2006 > Code References









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Code References
Peter

2006-01-09, 8:27 pm

Is there a way to make Code References to search for 2 phrases? For example,
I want to find all the objects which has coding in KeyPress event AND
contains the command requery in the KeyPress event. Right now, I need to do
a search for "procedure keypress" and another search for "requery". Then
check which object occurs in both results.
Cindy Winegarden

2006-01-09, 8:27 pm

Hi Peter,

I couldn't find an "easy" way, but the source to the Code References tool is
in the FoxRef project in the \Tools\xsource\ directory.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn
.com www.cindywinegarden.com


"Peter" <Peter@discussions.microsoft.com> wrote in message
news:56160E49-7428-432D-9C9A- 16BC06233236@microso
ft.com...
> Is there a way to make Code References to search for 2 phrases? For
> example,
> I want to find all the objects which has coding in KeyPress event AND
> contains the command requery in the KeyPress event. Right now, I need to
> do
> a search for "procedure keypress" and another search for "requery". Then
> check which object occurs in both results.



Stefan Wuebbe

2006-01-09, 8:27 pm


"Peter" <Peter@discussions.microsoft.com> schrieb im Newsbeitrag
news:56160E49-7428-432D-9C9A- 16BC06233236@microso
ft.com...
> Is there a way to make Code References to search for 2 phrases? For example,
> I want to find all the objects which has coding in KeyPress event AND
> contains the command requery in the KeyPress event. Right now, I need to do
> a search for "procedure keypress" and another search for "requery". Then
> check which object occurs in both results.


You can use the pipe character "|" as an OR-operator when you check
the "Use regular expressions" option in Code References.


hth
-Stefan


--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com