>Hello!
>
>I am doing something trivial I have done a million times and it is not working now!!
>
>I have these 2 lines of code in an EXE
> SET PROCEDURE TO intreport.app additive
> DO checksecure IN intreport.app WITH lnretval
>
>
>the "intreport.app" file is a separate app built with a separate project and one of the program files is called "checksecure". Both the calling EXE and the APP file reside in the same directory.
>
>The code above errors out and says that checksecure cannot be found! Why?
>
>I tried it without the SET PROCEDURE to and same result.
If CURDIR() is something other than the EXE's folder when you try to issue your DO ..., this could happen. What are CURDIR() and SET( "PATH" )?
What happens if you do
SET PROCEDURE TO FullyQualifiedPath\intreport.app additive
DO checksecure IN FullyQualifiedPath\intreport.app WITH lnretval
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up