call_form() can't work.thanks! [message #242726] |
Mon, 04 June 2007 21:11 |
mell.gu
Messages: 6 Registered: June 2007 Location: China
|
Junior Member |
|
|
i use a push button and write down
call_form('signup'); in when-button-pressed trigger ,when run it but nothing is displayed,the error info is can't read form signup(the form signup running is ok)
friends,how can i do to call form signup?
thanks!
|
|
|
|
|
|
|
|
|
Re: call_form() can't work.thanks! [message #242813 is a reply to message #242726] |
Tue, 05 June 2007 03:52 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
in the registry if you are using windows O/S.
go to start > run, there type REGEDIT and say ok
Go to HKEY_local_machine > Software>Oracle. In the main itself you'll file FORMS90_PATH. Just add your application path there.
|
|
|
|
|
|
Re: call_form() can't work.thanks! [message #242845 is a reply to message #242726] |
Tue, 05 June 2007 04:57 |
hemavb
Messages: 103 Registered: May 2007 Location: Dubai , UAE
|
Senior Member |
|
|
there are lot many different ways to handle this, if you donot want to "upset" the registry.
easiest way is set the path in a global variable when your menu loads. after than you concatenate the name of the form/report with the global variable while specifying file name.
another option is keep a table in the system user or in your db's base user and give all users only select rights to it. (you can do this by granting select access to "CONNECT" and then granting this role to all users.) Put a column in this table where you will store the path. write a function on this table to pick up the path. Contatenate that path and the name of the form/report while specifying file name.
Using this method, you can also speficy multiple paths for different modules, e.g. Sales Module, Finance Module, HR/Payroll etc.
-------------------
Yahya,
what happens when your main module and the subsequent sub modules are in a different folder?
Rgrds,
Hema
|
|
|
|