How to do this in oracle forms 10g
hi all,
any idea about how to format a drive using oracle forms 10g and shutting down the remote pc and a personal pc using oracle forms 10g.
i am using windows XP2 as os.
please replay..
Hi Inol and Weiden,
thanks for your help,
i have cretaed a form xyz.fmx with a button , i wrote in when-button-pressed and also attached the default webutil.pll(which is in forms path) library in attached-library section
Client_host('cmd c/ shutdown -i');
but my problem is that when i run the form i am getting error that
FRM-40039: Cannot attach library webutil.pl while opening form xyz.fmx.
Cause: The given library is attached to the form but
cannot be located in the search path for PL/SQL libraries.
Action: Make sure that the given library can be found
and that it has read permissions set.
Level: 99
Type: Error
i think i have to configure the webutill.pll but i don't how to configure
can you tell me how to configure the webutil.pll file..
please reply..
Similar Messages
-
How to enable tracing in Oracle Forms 10g
Hi Friends,
I am interested to trace my running oracle forms application. When I googled it, I got below useful information. But theory and practical has mismatch somewhere, I am not able to create the trace file(s).
**************************** Some Notes ****************************************************
How to Enable Tracing in Oracle Forms 10g
Enable Tracing from the url by adding the following to your forms url:
&record=forms&tracegroup=0-98,100-199 (note: item 99 causes some issues, so we are skipping it here. See the Oracle documenation for a description of what is being traced for each item.)
for example
[http://machine:port/forms/frmservlet?config=myConfig&record=forms&tracegroup=0-98,100-199]
You will get a trace file in the following location:
%ORACLE_HOME%\forms\trace\forms_xxx.trc where xxx is the forms session ID.
Open dos window and do the following:
set ORACLE_HOME=
set PATH=%ORACLE_HOME%\jdk\bin;%PATH%
set CLASSPATH=%ORACLE_HOME%\jdbc\lib\classes12.zip;%ORACLE_HOME%\forms\java\frmxlate.jar
java oracle.forms.diagnostics.Xlate datafile=%ORACLE_HOME%\forms\trace\forms_xxx.trc outputfile=%ORACLE_HOME%\forms\trace\html_xxx.html outputclass=WriteOutHTML
you will get a file html_xxx.html in your %ORACLE_HOME%\forms\trace directory.
I need information beyond this to make this practically successful.
Thanks in advance,
Amol NaikHello,
<p>Did you read this paper ?</p>
Francois -
How to call Reports in oracle forms 10g
Dear All,
How to call Reports in oracle forms 10g.
I am using Oracle Forms 10g Reports 10g and Database 10 and and Operating system Windows XP.
Please give me the Solution.
Thanks and Regards,
FaziludeenHi Omkar,
Please check the following code.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
BEGIN
plid := Get_parameter_List('tmp');
IF NOT Id_Null(plid) THEN
Destroy_parameter_List( plid );
END IF;
plid := Create_parameter_List('tmp');
add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
repid := FIND_REPORT_OBJECT('POL_REP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid,plid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
'||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
'¶mform=no');
END;
I am used to Start the Report sever 'Rwserver Server=prod_Report_Server Start'
OracleAS Report Services
Version :- 10.1.2.0.2
Name :- prod_report_server
Status :- Server is Shutting down
Jobs in Queue 0
Active Engines 0
I got the Following Error when I trying to run the Report
FRM-41211: Integration error:SSL failure running another product
Thanks and Regards,
Faziludeen -
How to use LDAP with Oracle forms 10g on Oracle application server
Hi,
I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
Thanks
LukshI am not quite sure if this works out of the box. According to an Oracle FAQ:
4.2 Can I use LDAP to authenticate Forms Services?
Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms. -
How to do this in Oracle forms
hi Freinds I am Using This Code in Oracle Forms
Declare
var_m varchar2(20) := 'employee_no';
Begin
select var_m into :records.column_1 from pay_employee
where employee_no = 1 and
company = 10;
End;Now this is Selecting one row and giving me output as
"employee_no"
But I do not Want This Ouput.
Now this employee_no is the name of column in table.....so I want Its value to be Shown ,Instead of Text ?
I want this query to get Execute
select employee_no from pay_employeebut it is doing this
select "employee_no" from pay_employeeDeclare
var_m varchar2(20) := 'employee_no';
Begin
select var_m into :records.column_1 from pay_employee
where employee_no = 1 and
company = 10;
End;Of course you are getting the string 'employee_no' from your query as this is what you are selecting:
SQL> create table testselect as select level lvl from dual connect by level < 5;
Table created.
SQL> select * from testselect;
LVL
1
2
3
4
SQL> select 'hello' from testselect where lvl = 1;
'HELL
hello
SQL> select lvl from testselect where lvl = 1;
LVL
1have a look here:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/fundamentals.htm#CIHGGGGI
what you want to do would be
Declare
var_m varchar2(20) := 'employee_no';
Begin
select employee_no into :records.column_1 from pay_employee
where employee_no = 1 and
company = 10;
End;However; the result of your query would be either +1+ or a no_data_found ...
cheers -
How to display image in oracle forms 10g
hello good morning
I need to display an image in forms 10g
I can use READ_IMAGE_FILE ('imagen_name', 'URL', 'block.image_item');
ok if I have my forms stored in a directory -----> */ FORMS / MYSAPP* here are all my fmx
HERE ARE MY PICTURES ---> */ FORMS / MYSAPP / IMAGES*
As I can put the URL to access an image that is in that directory
sldsHi,
You should have the webutil
see this post
http://sheikyerbouti.developpez.com/tutoforms10g/tutoforms10g.htm -
How to use BLOB in Oracle Forms 10g?
Hi
I defined a column in a table with the type BLOB,
then I used it at the form with a data block.
Now how can I let the user to insert his photo in this column?
If you don't know the answer please put any web links that may helps meHi Omkar,
Please check the following code.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
BEGIN
plid := Get_parameter_List('tmp');
IF NOT Id_Null(plid) THEN
Destroy_parameter_List( plid );
END IF;
plid := Create_parameter_List('tmp');
add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
repid := FIND_REPORT_OBJECT('POL_REP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid,plid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
'||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
'¶mform=no');
END;
I am used to Start the Report sever 'Rwserver Server=prod_Report_Server Start'
OracleAS Report Services
Version :- 10.1.2.0.2
Name :- prod_report_server
Status :- Server is Shutting down
Jobs in Queue 0
Active Engines 0
I got the Following Error when I trying to run the Report
FRM-41211: Integration error:SSL failure running another product
Thanks and Regards,
Faziludeen -
How to relove this problem in forms 10g(10.1.2.0.2)
m trying to use run_report_object so many time but error is coming out like "Cannot find report :invalid ID" please help me
what should i do
Rgds
Manojwhat should i do Post all the steps you did, and maybe a little sample of your code (please don't post the whole bunch of code) with tags. Maybe also the instructions you used on how to run a report.
calling +run_report_object+ is just 1% of the work to do to call a report, if this is the only thing you did then you most certainly will have to do the other 99%. But from the informations you gave us this is hard to tell.
cheers -
How to use unicode fonts in Oracle forms 10g?
Hi I am working in forms 10g for quite a long time, the software that I have developed so far are all in English language. Now I have requirements to use Bengali Fonts in Forms 10g. I am facing difficulties doing that. Please reply with help. Thanks
Hasan Al MamunCheck this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun -
How to connect oracle forms 10g with oracle 10g express database?
Hi all,
I have downloaded and installed oracle forms 10g and oracle database 10g express, when I open net configuration assistant to test local net service, I tested the default service (EXTPROC_CONNECTION_DATA) BUT THE RESULT IS "ora-28547 connection to server failed probable oracle net admin error"
How can I solve this issue?
My tnsname.ora is located in c:\DevSuiteHome\network\admin\tnsnames.ora, and its contents is:
# tnsnames.ora Network Configuration File: c:\DevSuiteHome\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nour-pc)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
Edited by: user10228498 on Jan 21, 2011 11:37 PMI copied the contents of C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN\tnsnames.ora and appended it to C:\DevSuiteHome\NETWORK\ADMIN\tnsnames.ora
and tried net configuration management to test local net service, the test was ok, thus the first problem resolved.
but the login problem in forms developer still exist and it claims that: ora-12154 tns could not resolve the connect identifier specified.
any ideas? -
How to Migrate Oracle Forms 10g 9.0.4 to 10.1.2
Hi I would like to find information on what is necessary to do in order to migrate Forms 10g 9.0.4 to 10.1.2.
Do I need to use Oracle Migration assistant ?
Is it enough only compile forms ?
Where I find documentation on how to execute this migration. I am only find documentatio to migrate from 6i to 10g, but I need documentation to migrate from Forms 10g 9.0.4 to 10.1.2.Hi,
Thank you for the answer about Oracle forms.
Now I would like ask another question but this time for Oracle Application Server. As we have Oracle forms 10g 9.0.4 we also use the Application Server with this same version.
Do you have any recommendations on how to Migrate the Oracle Application Server from 10g 9.0.4 to 10.1.2 ?
Thank you . -
How can I code this in Oracle Forms?
I have a master-detail form. In the detail block, I have several records. Here is my name table.
ID Name_Type Name
1 old Mike
2 Current John
3 old Peter
4 old Andrew
I would like to create a button trigger which shall perform the following:
1) insert a record into database with a copy of current value. In the above case it will insert create a record for John as name_type = 'OLD'. So we have total of 5 records. Commit the transaction.
2) Scroll through my detail records (5) and go to one specific record and erase the values from it. In the above case, it should find John's record with name_type = 'Current' and erase John from it.
How can I accomplish this in Oracle forms using a button-pressed trigger?Hi,
Simple, using current values you can create new id , 'old' and name so oracle will create record, now refresh block, next using next_record in loop you can find record,erase one and refresh block.
Adinath Kamode -
How to read a Value from Excel Cell into Oracle Forms 10g with Java
Did any one Implamented a Java PJC to integrate Excel on Oracle Forms 10g?
I Open Excel Applikation.
Open a File like c:\import_test.xls
read a number 05 from A:1 (i get it as return value).
Save a number in a variable in Forms 10g
Can any one help my please?
Thankswhy don't you use webutil.
it has package client_ole2 which allows you to have programmatic interface with excel application.
this is especially useful if the excel to be read is available in the client. -
How to Install Oracle Forms 10g (9.0.4) Demos
Hi.
My forms version is :
Forms [32 bits] Versión 10.1.2.0.2 (Producción)
Oracle Toolkit Versión 10.1.2.0.2 (Producción)
PL/SQL Versión 10.1.0.4.2 (Producción)
I'm trying to install Oracle Forms 10g (9.0.4) Demos. Everything works fine until step 5. I can even access the forms demos home page(changing forms90 to forms). However when i try to access any link, i get the following error:
404 Not Found Resource /forms90/f90servlet not found on this server
What's wrong?. I believe forms is pointing to the wrong direction:
http://mluis:8888/forms90/f90servlet?config=reusable_picklist
For example to show the tick image on step five on install guide, I have to replace
http://mluis:8888//forms90/formsdemo/images/tick.gif
for http://mluis:8888//forms/formsdemo/images/tick.gif
This is because I don't have a forms90 directory in my Oracle_Home. I changed forms90 for forms in formsdemo.env. But still doesn't work. So my question is
- Are these forms demos built for my forms version?.
- If not, what do i have to change in order to make things work. I'm really interested in some special features like PJC, Webutil etc.
- The configuration is still pointing at a forms90 directory. I need to change it to just forms but don't know which files.
Thanks in advance ...!Hi,
Have you resolved this issue? I have gotten a bit further.
You also need to change any f90xxxxxx to frmxxxxxx
But the servlet cannot seem to find any of the demo forms.
I assume a path issue, but cannot seem to find it.
Any clues?
Thanks. -
How to open .cmdrw file from Oracle Forms 10g
Hi,
We need to call *.cmdrw* file from Oracle forms 10g. Is there any way to call *.cmdrw* file from Oracle forms 10g?
Thanks for the help.
Viishnu NekkantiIn case you want to open a .cmdrw with its associated application you can use the following procedure:
webutil_host.NonBlocking( 'rundll32 url.dll,FileProtocolHandler ' || client_filename );This works for every file where a program has been associated to its file extension. (Adobe Reader for *.pdf, Microsoft Word for *.doc, Microsoft Excel for *.xls and so on)
Regards
Markus
Maybe you are looking for
-
Slideshow in QT 7.1.3 in Windows: Frame Rate Fixed at 29.97
I have my sequentially numbered JPGS, Open Slide Show in File menu, highlight the first JPG, but then the Frame Rate is fixed at 29.97, no opportunity to set to 3 seconds per frame or 10 seconds a frame or anything except 29.97 per second. I have uni
-
Creation of Unkown Number of Vectors
I'm trying to take items from a vector and placing each into their own vectors. How do I go about creating an unkown number of vectors to hold all the items?
-
Asset: Error of Year End Closing and depreciation
Experts, We are testing a scenerio in Quality Server. System was throwing error " You Can not post to asset in Company Code ABCD, fiscal year 2012". So we performed Fiscal year change "T-Code: AJRW" Now we have created asset in Year 2011, then posted
-
SMS problem with PC-Suite and Phone browser
Operating system: Microsoft Windows XP Build 2600 Service Pack 2 Language: English (United States) Language for non-Unicode programs: English (United States) Locale: Finnish Input language: Finnish Nokia PC Suite: Version 6.81.13.0 Language: English
-
Hi all , Is it always necessary to give the 'initial value' to the list-item in the forms ? B'coz on one form i am getting the following warning :- FRM-30188: No initial value given, and other values are not allowed (item CTRL.YEAR). List YEAR Block: