![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using P9 and I am trying to make my way through the following code: .... if WorkLib5.CreateReportResults() < 0 then msgStop("Error creating Results","Unable to get test results for "+ "reportable results") return endif .... I need to look at the method WorkLib5.CreateReportResults. I can't seem to find any way to figure out where this exists in the app I've inherited. No, there is no file named "worklib5" anywhere in the directory structure, as far as I can see. How do I view code called from a method? TIA, Karl Perry |
#3
| |||
| |||
|
|
Karl, WorkLib5 is a library type variable, declared as WorkLib5 library Find somewhere in the code WorkLib5.open(SomeFileName) - and SomeFileName gives you those library file name. Vladimir Menkin Karl Perry wrote: I'm using P9 and I am trying to make my way through the following code: .... if WorkLib5.CreateReportResults() < 0 then msgStop("Error creating Results","Unable to get test results for "+ "reportable results") return endif .... I need to look at the method WorkLib5.CreateReportResults. I can't seem to find any way to figure out where this exists in the app I've inherited. No, there is no file named "worklib5" anywhere in the directory structure, as far as I can see. How do I view code called from a method? TIA, Karl Perry |
#4
| |||
| |||
|
|
Thanks. Is there any way to do a "global search" in all code in the app for this? Karl "Vladimir Menkin" <vmenkin.home (AT) ITS-surveys (DOT) com> wrote in message news:3efa0aaa (AT) jedstarmail (DOT) psfloan.com... Karl, WorkLib5 is a library type variable, declared as WorkLib5 library Find somewhere in the code WorkLib5.open(SomeFileName) - and SomeFileName gives you those library file name. Vladimir Menkin Karl Perry wrote: I'm using P9 and I am trying to make my way through the following code: .... if WorkLib5.CreateReportResults() < 0 then msgStop("Error creating Results","Unable to get test results for "+ "reportable results") return endif .... I need to look at the method WorkLib5.CreateReportResults. I can't seem to find any way to figure out where this exists in the app I've inherited. No, there is no file named "worklib5" anywhere in the directory structure, as far as I can see. How do I view code called from a method? TIA, Karl Perry |
#5
| |||
| |||
|
|
Karl, Yes. Open any method, press ctrl-Z, enter a text to search for and check "Global search" checkbox. When the first occurence will be found, press ctrl-A to find next occurence. |
![]() |
| Thread Tools | |
| Display Modes | |
| |