Question : Oracle.ini & FORMS45_PATH

Hi ,

I have a problem here. Whenever I call CALL_FORM(XXX) , the application
will search the default directory in the network drive o:\APP\FORMS.
During development , I want the application to look for the file
in my local drive. Following is the details :


File O:\ORAWIN\ORAWIN.INI
-------------------------------
[Oracle]
ORACLE_HOME=O:\ORAWIN
 :
 :

[FORMS45]
FORMS45_PATH=O:\APP\FORMS;
 :
 :
 :


If I execute CALL_FORM('Form1.FMX', ....) , the form will look for
Form1.FMX in the path O:\APP\FORMS.

If I want the application to look for the form in my own c:\PRJOECT
directory,
and I do not want to hard-code the path to be "C:\PROJECT\FORM1.FMX"
How can I go about doing this ??

Someone told me to create a local ORAWIN.INI in the c:\windows directory
specifying the new FORMS45_PATH , but it did not seem to work.

Please help.

Thanks.
Ken

Answer : Oracle.ini & FORMS45_PATH

Hi Ken,

You can change the current oracle.ini in the win.ini, section
ORACLE. The key ora_config points to the current oracle.ini

You can change your working directory to c:\project, also.
But I'm not sure about this. Just try it.

HTH, TeJay
Random Solutions  
 
programming4us programming4us