4GL and .frm organization
Posted in 1991
I would like some input into organizing executable 4GL code and storing .frm files in directories. The basic problem I am having is trying to figure the best way to store the .frm files based on the fact that the open form xxxx from "f" does not allow a variable to replace the "f" value. To me this means my only choices are: 1. hard code path names ie. "/usr2/dbdir/bin/myform" 2. "myform" myform must be in current directory or in the directory indicated by DBPATH 3. "bin/myform" append this to DBPATH What I would like to do is have DBPATH = /usr2/dbdir all of my databases would be in this directory. The problem is that with one /usr2/dbdir/bin there is a problem in making sure that form and program names are unique. With multiple databases and programs this is too much of an administration headache. If anyone cares to comment: 1. How do you use the DBPATH and the PATH to provide access to multiple databases and application systems? 2. Is there anyway to get the OPEN FORM to look in different places for .frm files? 3. Ideally I would like to be able to define an application that operates on a database and can be installed and deinstalled without disturbing any other applications. 4. Another problem I have is storing common functions that use forms in a library. If I use "bin/myform" in the function then I must include a "bin" directory in the DBPATH directory. Basically I have to pick some organization scheme and stick to it if I want to use a library of common functions. Any help appreciated. Thanks Michael J. Kuhn Consultant phone :301-254-7060 e-mail :c/o Baltimore Rh Typing Laboratory, Inc. phone :301-225-9595 uunet!rhlab!kuhn