Home » Developer & Programmer » Forms » calling oracle form from batch file
calling oracle form from batch file [message #84750] Thu, 22 April 2004 01:51 Go to next message
MAQBOOL
Messages: 2
Registered: March 2004
Junior Member
I have a web page with one link with following codeing:

<html>
<bod>

INVENTORY CONTROL SYSTEM

</body>
</html>

it calls batch file. Batch file contents are:

H:OraFormsBINifrun60.EXE \sonaicsicspm000.fmx userid=shortcut_user/shortcut_user@ITGMDB

H:OraFormsBINifrun60.EXE is a path of oracle forms runtime
\sonaicsicspm000.fmx is a location of INVENTORY CONTROL SYSTEM login form

When I web page is opened in Internet Explorer, It contains one link INVENTORY CONTROL SYSTEM.

I click this link and the login form of INVENTORY CONTROL SYSTEM appears. It is ok.
When I give username and password and click to go to main menu of INVENTORY CONTROL SYSTEM
which is next form i.e. ICSPM001.FMX, it failed to load this form.

Reason of the problem
=====================

It does not load next form because it tries to load form from H:OraFormsBIN
and actually the form lies at \sonaics path.

Question
========

How I tell the batch file to load ifrun60.exe from H:OraFormsBIN
and form from \sonaics path
Re: calling oracle form from batch file [message #84756 is a reply to message #84750] Thu, 22 April 2004 06:10 Go to previous messageGo to next message
Simpson
Messages: 2
Registered: April 2004
Junior Member
Hi

Did U Try with setting FORM60_PATH in the registry to "sonaicspath".

I'm not sure whether this will solve the problem in calling a form thru a batch file, but 100% solves the problem while calling a form within a form.

Thanks
Simpson
Re: calling oracle form from batch file [message #84769 is a reply to message #84756] Fri, 23 April 2004 04:16 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
you should add the new path in the regedit FORM60_PATH
besides it should be written before the value of the other path.
try to use server aliases then partition aliases :

value FORM60_PATH is like :

\new_added_pathdir1; \sonaicspath;

will let the application look for the program initially in the \new_added_path, if not found then the next path in list will be searched for it: \sonaicspath
Previous Topic: Bad Bind Variable
Next Topic: Very Urgent
Goto Forum:
  


Current Time: Mon May 20 12:46:48 CDT 2024