Query on oracle forms
when i am trying to run my oracle form on google chrome i am getting a error message that oracle jinitiator version is very low
kindly give the answer
Google Chrome is not compatible with the Oracle Jinitiator. Actually, very few - if any - current browsers are compatible because the Oracle Jinitiator is based on Java 1.3.
As others have asked, we need to know your Forms, Windows, Java and browser versions in order to offer you some help.
Craig...
Similar Messages
-
Frm-40505:ORACLE error: unable to perform query in oracle forms 10g
Hi,
I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
Please let me know what do i need to do to correct this problem.
Regards,
PriyaHi everyone,
I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
Regards,
Priya -
For Update Query from ORACLE Forms
Hi
We are using Oracle Forms 10g running with 10g database 10.2.0.1.0. We happend to see a query which is getting generated in AWR report like Select rowid, all_columns from TableName for Update of C1 Nowait. But no such query is really written in forms and we are aware that, Any query prefixed with rowid is definitely executing from Forms. But how the ForUpdate and Nowait clause is appended to the query.
We have checked the following properties in the database Block
*1) Locking Mode is set to Automatic*
*2) Update Changed Columns only is set to YES*
*3) Query all records is set to No (Though this particular property may not be relevant to the issue)*
What is the property or setting which might trigger such a query from ORACLE Forms with ForUpdate and Nowait clause.
Any ideas/suggestions on why such behaviour. Please have a healthy discussion on this. Thanks in advance.you can't dynamically add a query to the data model in reports.
You should look into the XML based customization of Oracle Reports. This will enable you to define a report dynamically by creating a definition in XML.
Also another option is to have the report with a query in it and use lexical parameters in reports to pass the query definition or just the where part of it.
Look at the reports online help for both of these solutions. -
Can i use case in query in oracle form 6i
sir can i use case in query in oracle form 6i
such as
select empno, case when deptno=10 then dptno end from emp;
please gice meHello,
Does this code compile ?
If not, I'm afraid that the PL/SQL engine of Forms6i does not recognize this syntax.
Francois -
Index Usage from SQL query in Oracle Forms
Would using LIKE/OR in where clause (of an indexed column) will force the the query to NOT use INDEX. We have these where clause in Oracle Forms Records Group.
Below are two examples...
1. If we have a where clause with LIKE would that NOT use the index?
Example: ColumnName like :block.Column||%
2. How about having an OR clause?
Example: and (ColumnName = :block.column or :block.column is null)
ThanksHi
Answer 1: Where with like clause WOULD use the index.
In this example index on ColumnName
Answer 2: Write better where:
Example: and (:block.column is null or ColumnName = :block.column)
When :block column is null then statement after 'or' is not used. Index will not be used with RBO, i think.
The best way to be sure is to look at explain plan on the original query.
Regards
Kuba -
Using a Sum query in Oracle Forms
Greedings,
I have the following query which works fine in PL/SQL but i cant get it working in Oracle forms as i get an error in SUM(SELECT...) . Any quidance on how i should fix my query to work in Forms?
select
Sum((SELECT kl.amount
FROM S03_a_salfldg@oracle_to_sun kl
WHERE Trim(kl.accnt_code)=Trim(a.acnt_code)
AND kl.period between 2008001 AND 2008012 AND ROWNUM=1)) AS actual
from so_budgets_cat a,a01_acnt@oracle_to_sun b,so_budgets_com c,so_budgets d
where trim(a.acnt_code)=trim(b.acnt_code)
AND a.cat=c.cat
AND TRIM(d.acnt_code)=trim(a.acnt_code)
AND d.business_object=10000103883
AND d.business_object=c.bus_object
AND d.business_object=a.business_object
AND SubStr(d.period,1,4)=Trim(c.PERIOD_Y)
AND C.period_Y BETWEEN substr(2008001,1,4) AND substr(2008001,1,4)
GROUP BY a.cat,a.acnt_code,c.com,a.cat_desc,b.descr,d.acnt_code
order by a.cat,a.acnt_code,c.com,a.cat_desc,b.descrThanks in advanceAnd what error would that be? Also where are you using this query? In a from clause query? Also you didn't specify any version infos; as forms has it's own PL/SQL engine there is a possibility that you run in a version problem if the code runs fine in SQL*Plus but fails to compile in forms (e.g. when running Forms 6i against a 10g database). Without those informations answers to your question are based on guessings, and most likely will result in a question-answer ping-pong.
cheers -
How to show the result of query in oracle forms 10g to Excel Sheet File
Dear All,
I have query and i want the result to be show in excel sheet file in oracle forms
for example if i have a form with search criteria and when pressed the button of ( export to excel ) the result is
excel file contains the result of the query .The only method to achieve this is with the help of Webutil. Please go through documentation for more help.
Regards,
Manoj Chakravarthy -
Developering ADF form in query mode (Oracle forms simulation)
Hi,
we have a requirement for developing the existing Oracle form using Oracle ADF. The existing Oracle form displays the form in query mode by default. We can enter the search criteria in any of the text fields and then execute query to get the results. If the user does not enter any search criteria, then the form loads specific record based on default criteria into the form. Could you please help developing similar form using ADF.
At present I created the view object with one bind variable and dragged the view as ADF form to the jspx page. Then I am launching the form in query mode (executing the find method on the view object using operation binding at the time of loading the page). After entering the query criteria in the form, If I click on a button I am executing a method in the managed bean. In the managed bean I am executing the "Execute" operation on the view and it is working fine.
But my problem is if the user does not enter the search criteria I have to pass default parameters to the view object and return the default record in the form.
Can you please help in resolving the issue.
Thanks and Regards,
S R PrasadHi Frank,
Thank you for providing information. I created the query panel with the table by dragging all the named criteria. But this is not the look we are expecting for this form. As we have to deveop ADF form with the same behavior as oracle forms, the user must be in a position to edit the data in the same field as that of query field.
As an example, we have to design a form for Dept table. We have to display all the columns of the dept view in the form at the time of launching the form in query mode. Once the user enters any search criteria in the form, we have to perform search and display the record(s) matching the query criteria in the same columns displayed in the form. User should not see any changes in the form layout.
If the user does not enter any data in the form, then we have to display the record(s) in the form with the specific department id(This department id can be calculated based on the data in another table).
Can you please help us in resolving the issue.
Thanks and Regards,
S R Prasad -
Data to be queried in oracle forms
select a.dept_id,a.drive_id,a.qc_type_id,a.qc_subtype_id,
a.equip_code,a.staff_id,a.out_of_service,a.comments
from qc_equipment_used a,qc_equipment b
where a.equip_code = b.equip_code
and a.dept_id = 5
and a.drive_id = 'DRV2007930'
and qc_type_id = 1008
and qc_subtype_id = 1000
and equip_type_id =1000
But when I am trying to query in the form I get only one line.
Header is database
in the detail ids are database but a.equip_code,a.staff_id,a.out_of_service,a.comments are non database columns. The data gets saved properly but when I query I get only one line.
Cursor C1 is select a.equip_type_id
from qc_dept_equipment a,qc_equipment_type b
where a.equip_type_id = b.equip_type_id
and a.qc_type_id = :qc_daily.qc_type_id
and a.qc_subtype_id = :qc_daily.qc_subtype_id
and alias_desc = v_description;
Cursor C6 is select a.equip_code,a.staff_id,a.out_of_service,a.comments
from qc_equipment_used a,qc_equipment b
where a.equip_code = b.equip_code
and a.dept_id = :qc_daily.dept_id
and a.drive_id = :qc_daily.drive_id
and qc_type_id = :qc_daily.qc_type_id
and qc_subtype_id = :qc_daily.qc_subtype_id
and equip_type_id = v_equip_type_id;
Begin
select count(*) into v_count from qc_daily a
where a.dept_id = :qc_daily.dept_id
and a.drive_id = :qc_daily.drive_id
and qc_type_id = :qc_daily.qc_type_id
and qc_subtype_id = :qc_daily.qc_subtype_id;
v_description := 'Genesis Sealer';
:parameter.equip_code := 'one';
Open c1;
Fetch c1 into v_equip_type_id;--:qc_dept_equipment.equip_type_id;
Close C1;
If v_count > 0 then
Open C6;
loop
Fetch C6 into :qc_equipment_used1.equip_code,:qc_equipment_used1.staff_id,
:qc_equipment_used1.out_of_service,:qc_equipment_used1.comments;
:parameter.P_EQUIP_CODE := v_equip_code;
:parameter.equip_type_id := v_equip_type_id;--:qc_dept_equipment.equip_type_id;
:parameter.EQUIP_TYPE_ID1 := :parameter.equip_type_id;
Exit when :system.last_record = 'TRUE';
next_record;
End loop;
Close C6;
End if;
End;
DEPT_ID DRIVE_ID QC_TYPE_ID QC_SUBTYPE_ID EQUIP_CODE STAFF_ID
5 DRV2007930 1008 1000 SEALCEN001 0143
5 DRV2007930 1008 1000 SEALCEN038 0143Sorry, but i don't understand your problem. What is that code you provided? In what trigger do you place it? What is it supposed to do?
-
F11(Query mode) and Execute Query in Oracle Forms
Hi Experts,
I am working with EBS11.5.10.2 and database 9i. I am working on forms, i am new to forms.
Could somebody help me how to achieve F11(query mode) functionality in APPS forms.
Thanks in advance.Hello,
Wrong forum. Ask the Personalization question in the dedicated E-Business Suite forum.
Francois -
Query on Oracle form personalization
Guys,
I want to Open (Zoom) Approved Supplier Form from RFQ Form for a particular item of a buyer.
To implement the same, I followed the below provided steps.
A. I just opened the RFQ Form.
1. Seq# 10
Condition# WHEN-NEW-FORM-INSTANCE
Processing Mode# Not in Enter-Query Mode
Actions#
Seq: 10
Type: Menu
Menu Entry: SPECIAL10
Menu Label: Open Approved Supplier
2. Seq# 20
Condition# SPECIAL 10
Processing Mode# Not in Enter-Query Mode
Actions#
Seq: 10
Type: Property
Object Type: Global Variable
Target Object: XX_ITEM_NUM
Property Name: VALUE
Value : =:PO_LINES.ITEM_NUMBER
Seq: 20
Type: Message
Message Type: Show
Message Text: :GLOBAL.XX_ITEMNUM
Seq: 30
Type: BuiltIn
Builtin Type: Launch a function
Function Code: PO_POXSCASL
Funcation Name: Define Approved Supplier List
Saved my personalization and clicked on 'Open Approved Supplier' that takes me to "Approved Supplier" form.
B. Approved Supplier form is opened
1. Seq# 10
Condition# WHEN-NEW-FORM-INSTANCE
Processing Mode# Not in Enter-Query Mode
Actions#
Seq: 10
Type: Builtin
Builtin Type: GO_BLOCK
Arguement: ASL_ITEMS
Seq: 20
Type: Builtin
Builtin Type: DO_KEY
Arguement: ENTER_QUERY
2. Seq# 20
Condition# WHEN-NEW-RECORD-INSTANCE
Trigger Object# ASL_ITEMS
Processing Mode# Both
Actions#
Seq: 10
Type: Property
Object Type: Item
Target Object: ASL_ITEMS.ITEM_NUM
Property Name: VALUE
Value : =:GLOBAL.XX_ITEM_NUM
Seq: 20
Type: Builtin
Builtin Type: DO_KEY
Arguement: EXECUTE_QUERY
Saved everything and log out/log in and navigate to RFQ form and clicked on "Open Approved Supplier". the moment controller takes me to the Approved Supplier Form, it throws me an error message "Duplicate Item/Commodity being defined (ITEM_COMMODITY = 900842)" Though If I open Approved Supplier form without any personalization and query for 900842 item, it does not throw me an error. I am wondered why its happening. Can you guys please advise me where I am wrong?
Waiting for your replies.
Thanks
SunilPl post details of OS, database and EBS versions.
Pl see these MOS Docs
How to Zoom or Create Master-Details relationship Using Forms Personalization? (Doc ID 457643.1)
ORDER MANAGEMENT SUITE - USAGE OF CUSTOM LIBRARY CUSTOM.pll (Doc ID 438922.1)
HTH
Srini -
Execute query for oracle forms tab pages
Hi Guru's,
Please help me how to work on execute query with forms tab pages. I have created three tabs like A, B & C in one canvas.
I have three tables and I have created three tabs in one canvas. And there is no master detail relationship with these three tables.
I have written the code in form level - when-new-form-instance like do_key('execute_query') but when i see at run time its executing for first tab A not for tab B or tab c.
How to get the data or execute the data in tab B and tab C.
Thanks
RS1- create a block blk_1 add items item_1,Item_2 and Item_3.
2- create main canvas main_canvas. type Content.
3- create tabcanvas TABCANVAS . Type Tab
4- Create tabpages tb_1,tb_2 and tb_3.under tabcanvas
5- create stack1,stack2 and stack3.type stack.
6- put Item_1,Item_2 and Item_3 under stack1,stack2 and stack3.
add when tabpage change trigger.
Declare
V_TapPage_Name VarChar2(100);
Begin
Show_View('TABCANVAS');
V_TapPage_Name := Get_Canvas_Property('TABCANVAS',TOPMOST_TAB_PAGE);
If V_TapPage_Name = 'TP_1' Then
Go_Item('Blk_1.ITEM_1');
Show_View('STACK1');
Hide_View('STACK2');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_2' Then
Go_Item('Blk_1.ITEM_2');
Show_View('STACK2');
Hide_View('STACK1');
Hide_View('STACK3');
ElsIf V_TapPage_Name = 'TP_3' Then
Go_Item('Blk_1.ITEM_3');
Show_View('STACK3');
Hide_View('STACK1');
Hide_View('STACK2');
End If;
End;
Edited by: kingadmin on 20/04/2011 02:15 ص
Edited by: kingadmin on 20/04/2011 02:16 ص -
Restoring data after Query in Oracle form
Hello All,
My requirement is to check some check boxes --> SAVE --> F11 --> Control F11. User want to see the checked box again. Means thec check box should be checked until the form is open.
Please reply thanks.
Thanks.
Edited by: Amit1cs on Apr 15, 2013 1:11 PMHello Indira,
I have done this so far ...
I have created a PL/SQL table type and I am storing the checked box row number in that table type on trigger KEY_COMMIT trigger. but now I want to call this Pl>SQL table which have data in trigger KEY-EXEQRY (to recheck the check box again)which I can not... please suggest how this can be achieved.
Please suggest. -
Query for oracle form executable
1)How can we run executable (Forms & Reports) generated by Form & reports utilities of Internet Developers Suit in two tier architecture.
2)We want to keep all executables at a particular location on our local server and run these from client’s (computer). I mean to say that run time engine for forms and reports to install at client withour using OAS.
3) How can we run the OC4J instance at client site? Although we do not want to install full IDS on client computer in two tier architectureAd 1). For production purposes you have to run your forms trough OAS (it's a licence thing, not a techie thing)
Ad 2). You could do some magic with network shares, etc. but again, see point 1
Ad 3). You don't want to run a OC4J instance for production purposes, since you cannot control client settings, etc.
So, in short: just buy the license for OAS and setup a proper server. -
For Update Query with Wait Clause from ORACLE Forms
Hi
We are using Oracle Forms 10g running with 10g database 10.2.0.1.0. We happend to see a query which is getting generated in AWR report like Select rowid, all_columns from TableName for Update of C1 Nowait. But no such query is really written in forms and we are aware that, Any query prefixed with rowid is definitely executing from Forms. But how the ForUpdate and Nowait clause is appended to the query.
We have checked the following properties in the database Block
*1) Locking Mode is set to Automatic*
*2) Update Changed Columns only is set to YES*
*3) Query all records is set to No (Though this particular property may not be relevant to the issue)*
What is the property or setting which might trigger such a query from ORACLE Forms with ForUpdate and Nowait clause.
Any ideas/suggestions on why such behaviour. Please have a healthy discussion on this. Thanks in advance.Why have you started another thread on the same thing?
FOR UPDATE cursor is causing Blocking/ Dead Locking issues
Just use one thread to avoid confusion.
The fact that nobody has answered on the other thread for a couple of days could be to do with it being the weekend and most people are not at work.
Either be patient or, if it's more "urgent" than that, raise a SR/Tar with Oracle metalink.
Maybe you are looking for
-
Syncing iPad to Mac with multiple accounts
I'm considering getting our CEO an iPad, he currently has a MacBook which is fine but I think an iPad will suit him much better. If I do get him an iPad I'll take his MacBook from him and pass it to another member of staff. My Question is. Would I be
-
How do I connect a DVD play to iMac through "monidisplayport to HDMI" adopter?
-
SQL LOADER message : Point de validation COMMIT atteint - nombre d'enreg
Hello I am loading a csv file into an oracle table via SQL LOADER Each time i invoke it i get the folowing message : SQL LOADER message : Point de validation <COMMIT> atteint - nombre d'enregis. logiques 52. (i am french version of apex) And the tabl
-
ER: Allow setting af:query default mode
We are planning to use af:query component extensively throughout our application. However, we would only use it in cases where the QBE table filters would not work. Since the basic mode offers virtually nothing over QBE filters, we really only want t
-
I have download a film on itunes i wanted to re-download the film but the option is not available
i have download a film on itunes, then i deleted the film and after a while i wanted to re-download the film but the option is not available