General information
Category:
Forms & Form designer
This did it! The program() function was just giving me the control, whereas sys(16) is giving me the control AND the program name.
Thank you!
>Hi John,
>
>Have you tested this one?
>
>SYS(16) is similar to PROGRAM( ) except that SYS(16) returns a path with the program name. When the executing program is part of an application (.app), SYS(16) returns only the name of the program, that is, without the path. SYS(16) returns the name of the executable file if called from an executable (.exe) file; whereas PROGRAM( ) returns just the program name. If a procedure or function is being executed, SYS(16) returns the name of the file containing the procedure or function after the procedure or function name.
>
>Regards,
>
>Oscar Zarate.
>National Australian Bank.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only