How to call in oracle Forms environment variable
HelloWe have a custom application that uses the EBS 11i application server.
In one of the forms that we use
HOST (cp < file > < $APPL_TOP/log /. >)
Who works fines in 11i.
Recently, we went to R12. But now the same shape is not copy file when we
HOST (cp < file > < $APPL_TOP/log /. >) in the forms.
But if we replace $APPL_TOP with the actual value, it works very well.
Which means forms is not picking up $APPL_TOP. Is it possible to make the Forms Server recover all environment variables.
I checked $ORACLE_HOME/forms/server/default.env in 11i, it does'nt be all about variables for $APPL_TOP.
I should put it in default.env
Thank you
Yes, sounds like it (assuming you are using default.env in the configuration)
You can then get the help of variables: Tool_Env.Getvar ('MY_VARIABLE', v_value);
Tags: Oracle Development
Similar Questions
-
How to call sequence Oracle Forms
Hello
I use Oracle Developer Suite 10 g. I want to call a sequence that I created in sqlplus. When I try to call the sequence in a trigger for a command button on the compiler (WHEN BUTTON PRESSED) tells me that the sequence cannot be used in this context. I'm passing the sequence of a procedure as a parameter. Let me show you the code:
My table is:
Location (loc_id, loc_name);
the primary key is loc_id
My sequence is:
CREATE SEQUENCE loc_seq
MINVALUE 1
MAXVALUE 999999
START WITH 1
INCREMENT BY 1
CACHE 20;
My procedure is:
CREATE OR REPLACE PROCEDURE loc_change (Location.loc_id%TYPE, v_loc_name IN Location.loc_name%TYPE IN v_loc_id) HAVE
BEGIN
INSERT IN the slot (Location.loc_id, Location.loc_name)
VALUES (v_loc_id, v_loc_name);
COMMIT;
END loc_change;
My shutter button PRESSED WHEN KEY is
BEGIN
loc_change (loc_seq.nextval,: DATA_BLOCK.) VARIABLE);
END;
All I have to do is generate a random number to the parameter passed is the primary key for the location of my trigger. Any thoughts?This
DECLARE nSeq number; BEGIN select loc_seq.nextval into nSeq from dual; loc_change(nSeq, :DATA_BLOCK.VARIABLE); END;
should do the job...
You can also put the recovery of the sequence in the database procedure. If you have the Version 11 g of the DB, you can reference the sequence simply by this:
nSeq := loc_seq.nextval;
prior 11g it must go and look using select in the doubles.
concerning
-
How to check the oracle forms?
Dear friends,
OS: RHEL AS 3
DB: 9i R2
Forms: Developer 6
pc clients: Windows XP sp2
Forms Server: novell 4.8
How to check the oracle forms? for example, we have developed the forms using Developer 6. We would like to know which user accesses the number 152 of the form or the form name hrform.fmx
Because, every time make us changes in the forms we need more fmx if the user accesses this form so we can not crush him in our novell server.
Usually, we use a windows scheduler in the night to copy forms. so, if we know the user who has not disconnected from our system. the next day, we ask the user.
Thank youTake a look at
sys. DBMS_APPLICATION_INFO.set_module
and
sys. DBMS_APPLICATION_INFO.set_client_info
and call these package with good info in each of your form in for example the trigger a TIME NEW FORM INSTANCE...
-
How to run the Oracle form window in the center of the browser?
I want to run Oracle form in the middle of the browser window. When I run the form in the web it start on the left side.
How can I change this environment forever?
Dear Faisal Ahmed Odile ,
Try the following code
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE); SET_WINDOW_PROPERTY('
', X_POS, (GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WIDTH ) - GET_WINDOW_PROPERTY(' ', WIDTH )) / 2); SET_WINDOW_PROPERTY(' ', Y_POS, (GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, HEIGHT) - GET_WINDOW_PROPERTY(' ', HEIGHT)) / 2); Manu.
-
How to call an oracle forms6i calander
Oracle Forms 6i
Hai All
How to call a schedule for a botton. I have my form, I have a button called date of treatment when I press a button the calander need to display and select a date and I need the date of treatment. How can I do this Pls Me say
Any help is extremely Appricateable
Thanks and greetings
Srikkanth.MOk
I thinik it is included in the installation program. I remember well.
Anyway,.
Follow these steps...
1. just download the calendar90.zip go to the following link as mentioned in one of the post office.
http://www.orafaq.com/Forum/t/29418/2/2. for civilian use in you forms 6i just use step by step in this presentation. It starts from 35th presentation page. Just follow the steps described in the presentation. Then, you'll be able to set the timetable in you forms.
http://www.montgomerycollege.edu/~ggrinber/272/present/12CH.pptI now think it should be easy and should work ;)
-Clément
-
In the Environment Variables window, it reads:
For Brad user variables
Value of the variable
TEMP %USERPROFILE%\AppData\Local\Temp
TMP %USERPROFILE%\A[[Data\Local\Temp
New... Edit... Delete
System variables
Value of the variable
C:\Windows\TEMP TEMP
TMP C:\Windows\TEMP
THE USER NAME SYSTEM
Robert C:\Windows
PROCESSOR_... 15
PROCESSOR_... 4 c 02
PSModulePath C:\Windows\System32\WindowsPowerS...
Path C:\Windows\system32; C:\Womdpws,C:\...
PATHEXT .COM; EXE; BEATS; CMD;. VBS;. VBE;. JS;...
PROCESSOR_A... x 86
PROCESSOR_ID... x 86 family 15 model 2 Stepping, Aut 76...
ComSpec C:\Windows\system32\cmd.exe
PP_NO_HOST_C... NO.
NUMBER_0F_P... 1
Windows_nt OS
New... Edit... Delete
OK Cancel
What would the results be for ME and my computer by installing Windows 7 Home Premium 64-bit (drive) after having to re - install my 32-bit Version of Windows 7 Home Edition Premium, I bought some time ago?
Brad
Check the user accounts in the Control Panel-user accounts and family safety-manage accounts
It may be that the user is called SYSTEM for some reason any. You can change the account name but the path of the user will remain the same.
Example: change the SYSTEM to Brad, the path to the user of Brad will still be c:\users\SYSTEM
To check if your processor is 32 bit or 64 bit
Open the Control Panel
Select system and security
Select System
In the System section it check the line System Type
That should tell whether the operating system is 32 or 64 bits and if the processor is 32 bit or 64 bit.
-
How can we replace Oracle form when you used by another user
Hi Experts,
Is it possible to replace Oracle form while in use by another user?
Some time need deliver urgent fixes on the production environment, but it must wait for downtime, and the form does not use.
I searched the Forum, but able to get the answer to this topic, I will be grateful if you could provide no alternative to do this.
Env:
Windows Server 2008 R2
WebLogic Server 10.3.5
Oracle form & report 11.1.2
Hello
For Production environment, it will be handled with tactics that led to minor maintenance work as well.
You must have two physical directories (real and temporary) including the same fmx/plx/pll/mmx, files etc.
and a file reference of in the FORMS_PATH in default.env, who have the latest version of the source.
Copy the last source file into a temporary directory, when the user take the new session, it will access the new version of the source of the temporary path and who obviously last source version.
Meanwhile, once the actual source published by the user version, you can copy the latest version of the source to the real directory and reset the FORMS_PATH with the actual path.
In this way, you can solve your problem.
-
How to connect to Oracle Form Builder - Oracle Developer Suite 10 g - Windows 7
Hi brothers and sisters.
Hope that you are well. I installed Oracle Developer Suite 10 g on Windows 7 successfully and that it works correctly. But when I connect to Oracle Form Builder using Connect window asking:
a. user name of
b. password
c. database
a message box appears: "ORA-12154: TNS: could not resolve the connect identifier specified '.
I check my String to connect with: ' SELECT * FROM database of v$ ', but the problem remains the same.
Please help me how can I connect to Oracle Form Builder.
NoorHello
Please use Net Configuration Wizard or set tnsnames.ora with string and computer name to connect.
NET Configuration Assistant.
When its open then go to.
* The local Net Service name configuration.
* Click Next.
* Add.
* Click Next.
* Name service - Type here connect the String which is XE or any connection string.
* TCP.
* Click Next.
Host name - enter computer name or Ip address.
* Yes, perform a test.
you enter the right password and username here.Note:-your database should be Up if it's not high, it will be by the same error please start your database first.
Sarah -
How to call the function lavel root &; variable external loaded swf file
I have little problem in as3. I load 'mainmenu.swf' file "main.swf". through class loader. so now "main.swf" is children of parents 'mainmenu.swf' file how can call "main.swf" variable and function of "mainmenu.swf".
The parent of the loaded swf file is the charger. The main SWF is the parent of the charger. Then to communicate with the main storyline of the loaded file can use:
MovieClip (parent.parent) .someFunction ();
-
How to call a jsp forms of oracle10g page.
Hello
I use forms.can oracle10g I call a jsp to oracle10g form? If it is possible how to call a jsp page? How to call back form of jsp? Thank you.
Published by: Jean Elo diakite 27 April 2010 20:21
Published by: Jean Elo diakite 27 April 2010 20:22What is argument _blank? How to pass this value?
Its already the correct value of _blank as arguments Mithraeum opens a new browser window.
where to put jsp (web page)?
in the url
How to maintain session of form in jsp?
You can not. What you could do, it's pass the username to the jsp.
So a call to a jsp page looks like this
WEB.SHOW_DOCUMENT('http://server:port/path/the_name_of_the_jsp.jsp', '_blank');
-
How can I change oracle Forms appearance
Hi all
Please help me change the look and feel of oracle forms...
Kind regards
NycyHello
+"... But do not know how to start?... « +
The book you talk explains how to install the feature, and the zip file contains a lot of sample to test dialog boxes.
François
-
How to run the oracle form without using a web browser
I am a new developer in Oracle Form builder.
Could someone tell me how can I use oracle without using a web browser?
Bravo,N ° Web, since Forms 9i versions, are Web Client and needs an application server to run the forms runtime.
François
-
How to call from one form to another form when you press the button.
Hi all...
I have two forms "A" AND "B".
A form contains two items of text as->customer_id and total_amount
B form contains two 4 text items like-> customer_id, total_amount, paid_amount and balance.
A form has a button, pressed button this form must call form b and then the text element of form B customer_id,total_amount take values automatically from shape A customer_id ,total_amount .
PLEASE HELP ME...
I call form B from A, with success, but don't understand how to take values automatically from form A fom B...
Try the PL/SQL code that is used to trigger when-pressed next button:
Declare
pl_id ParamList;
BEGIN
pl_id: = Get_Parameter_List ('tmpdata');
IF this is Id_Null (pl_id) THEN
Destroy_Parameter_List (pl_id);
END IF;
pl_id: = Create_Parameter_List ('tmpdata');
Add_Parameter (pl_id, 'customer_id", TEXT_PARAMETER,: Customer_id");
Add_Parameter (pl_id, 'total_amount', TEXT_PARAMETER,: Total_amount);
OPEN_FORM ("B", ACTIVATE, No_Session, pl_id);
END;
-
How to call a stored procedure accepts VARIABLE in run
Hello
CREATE OR REPLACE PROCEDURE getEmpName
* (EMP_UNAME IN VARCHAR, EMP_PWD VARCHAR OUT) *.
IS
BEGIN
SELECT PASS IN EMP_PWD
USERS
WHERE NAME = EMP_UNAME;
END;
How call this stored using the execute procedure, I tried to run getEmpName('Sai'); and I myself
ERROR on line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in the call to 'GETEMPNAME '.
ORA-06550: line 1, column 7:
PL/SQL: Statement ignoredThe Sybrand & Tyro two examples show the declaration of the variable, i.e.
SQL> variable ename varchar2(100);
You must do it before SQL * Plus could know how to solve: ename in your call.
Justin
-
How to call CCI Oracle from a command line
Hello everyone.
I already asked the following question on Stackoverflow.com , but unfortunately, no one was able to answer, yet. So feel free to respond here or on Stackoverflow - I'll keep track of it and synchronize the answer to each community.
I have successfully installed the Oracle Code compliance Inspector (CCI) to JDeveloper extension by following the instructions. Later, I was able to run the BCC in JDeveloper. But I'm not able to invoke the Oracle BCC from a command line.
I can't find the script ("checkCompliance.sh"), mentioned in the documentation. There is no part of the zip file that I downloaded from the oracle.com.
I tried to execute the compliance.policy.engine.jar file directly, but it fails with an error message:
java -jar /oracle/jdevhome/jdeveloper/jdev/extensions/oracle.fp.compliance.inspector/lib/compliance.policy.engine.jar -inputDir /AIA/demo -outputDir /ComplianceOut
Could not load the manifest attribute of hand-Class /oracle/jdevhome/jdeveloper/jdev/extensions/oracle.fp.compliance.inspector/lib/compliance.policy.engine.jar
Any suggestions on how to invoke the ICC from a command line or where I can find the script mentioned in the documentation?
About the error message that I read that this can be corrected by adding a manifest file in the archive jar that defines the main class - but what is the main class of this jar file?
Thanks in advance for your help.
Well, it's resolved.
As mentioned in this part of the documentation, the BCC command line tools are distributed with OER.
The BCC command line tools are distributed with REL in the
/tools/solutions/ - ComplianceInspector.zip. What confused me: REL-download contains only a single .jar file. It took me time to realize that the .jar file is an Installer (installation documentation).
After properly installing OER, I found the
- ComplianceInspector.zip in /repository111/core/tools/solutions /. The
- ComplianceInspector.zip actually contained the checkCompliance.sh file.
Maybe you are looking for
-
Connection problem identifying Apple Apple TV (verification code)
Hello For 3 months I am not able to connect with my apple on AppleTV ID. A verification code is sent to my other devices, but with this code that I can not connect. The code is 6 digits so I type my password followed by the 6 digits, but without succ
-
Found 0 results for my browser missing important elements, the menu..., whole tool bar drop down to print, copy, work offline, file, save, bookmarks, history. I just installed latest foxfire on windows xp. Found a few instructions, but they called th
-
Sony WT19i not updated to Android 4.0
HelloI recently purchased sony eric love with walkman (wt19i) and when I tried to updeage it to android ICW by companion sony PC, I got this erroe - in the section prepare - "unable to install or start phone software update components. The phone is c
-
Unable to connect to the internet after the sys restore
I started havin issues - with internet explore after cleaning the files with Norton 360. Then I ran system restore and it didn't restore corecttly. now my pc saying net unidentified I'm also Runnin' a Setup to dual-boot with win 8 as notice of defaul
-
Disable the upgrade of Windows Vista Home Premium Retail
Currently, I have installed a retail version of Windows Vista Edition upgrade Home Premium on a desktop computer that is no longer I intend to use. I would like to turn off on this area, before you reformat the hard disk and give the computer to char