How to change the directory for open form
How to change the directory for open form
(OP)
Hello,
We have an application in several languages where each language has its own directory.
Each directory contains the same forms (.frm) and I want to know if it is possible to change or set the directory where the "open form" or "open window" instruction look at ?
This way we can easily change language at execution..
Thanks for any reply
We have an application in several languages where each language has its own directory.
Each directory contains the same forms (.frm) and I want to know if it is possible to change or set the directory where the "open form" or "open window" instruction look at ?
This way we can easily change language at execution..
Thanks for any reply
RE: How to change the directory for open form
CODE
Assume the code opens the form such as this:
CODE
To find the compiled form (scrform.frm), 4GL searches the current directory and then the directories named in the DBPATH shell variable.
Based on what language is required, set DBPATH before the 4GL program executes. For example, in a shell script, ask the user what language to use, set DBPATH appropriately, and then execute the 4GL program