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
Similar Messages
-
How to implement enter and execute query in ADF
I am new to ADF and I am trying to create a simple data entry screen in ADF 11g based on a database table. I am looking to implement the equivalent of the Enter Query and Execute Query feature in Oracle Forms. I tried the default operations that are available with the data controls. But they don't seem to have this feature. Can someone help me / point me to how this can be implemented.
Thanks,
Srini.Thanks Shay. As per your suggestion I have included the Find and Execute buttons for the VO Object and ran the page. I first clicked the Find button and entered by query condition and then clicked the Execute button. At this point I get an error popup asking me to enter values for all the mandatory fields. Am I missing something?
Regards,
Srini. -
Enter and execute query in ADF
Hi Experts,
I am trying to implement Enter-Query/Execute-Query in adf and using Jdev 11.1.2.2.0. I put Find and execute operation on the form. When i press execute button i says me to enter value for mandatory fields. But i am try to execute query not trying to create or update records. In forms we can query on any attribute.
Please guide
ThanksEnter and execute query in Oracle Forms starts with a simple row by row form for updating a table. When you press the "Enter Query" button, the form clears and the user can enter query by example criteria for any of the fields on the form. Then the user presses the "Execute Query" button, and is back in the update form, but with the data for the first matching row shown.
Here is a page with some links to articles by Steve Muench that explains some ways to implement this in ADF 10.1.3 - I think these techniques should still work in ADF 11g:
http://radio-weblogs.com/0118231/2006/02/13.html#a658
Another way with ADF 11g might be to put an af:query component in one facet of an af:switcher and the update form in the other facet. The Enter Query button on the update form tells the switcher to switch to the query facet, and executing the query also tells the switcher to switch back to the update form. -
Buttons and text items on oracle forms 6i
can i create dynamic buttons and text fields on oracle forms 6i.
i mean when i insert record in database then automatically creat a button on form.
Regards
Munawer hussainHi,
One physical button is enough for a series of "functional buttons" per amount of simultanious visisble buttons. You can change the button prompt at run-time depending on a certain condition. That same condition can also be used when executing the when-button-pressed (wbp) trigger.
Example:
suppose you have 2 functions that you want to create buttons for: enter query and execute query. Only 1 button is visible at one time. In design time you create 1 button. In run-time, depending on :system.mode you set the button prompt to "enter query"or "execute query" and in the wbp trigger you write
begin
if :system.mode = 'QUERY'
then
execute_query;
else
enter_query;
end if;
end;
Kind regards
. -
Problem in enter-query and execute-query in TEMPLATE.fmb in Oracle Apps R11
I have created the form using TEMPLATE.fmb in Oracle Apps R11i. There is 2 problems listed below when it queries the records:-
1) Cannot query the record by the specific value e.g. Cannot retrieve the PO records by entering the specific PO number.
2) Always display the message 'Do you want to save the record?' whenever the <ENTER-QUERY> key (i.e. F11) is pressed.
HOWEVER, it works fine for ALL records without entering any specific values.
Does anybody help to solve these two problems? Any hints? Thanks for any helps.try setting the block status to query or record
status to new prior to getting in the enter-query
mode.
Thanks
TapashHi Tapash, Dun understand.. please give more details.. Thanks. -
Which block get effected by save and execute query
Hello,
I'm using forms 9i , database oracle 9i.
Case:
i made a simple application with 4 stack canvas on each i place data from 4 tables. convention is like every stack canvas get visible when the corresponding button is pressed. once visible i don't set it to invisible i just place other stack canvas over it.
Although i don't get any error or problem while doing normal work like saving records or Executing query. but i don't understand whether these operation only effect the table which is visible(on stack canvas). and rest of are unaffected.
if No then how i can do it with only on visible canvas
and if yes is there any way that i can do execute query on all of them.
thanks
Rahul.The SAVE (COMMIT_FORM or COMMIT) will affect the whole form if you are using simple blocks based on tables, every block that does have changed or new data it will saved in the database.
The EXECUTE_QUERY will affect only the current block, the block where the cursor is in currently. If this block is a master block then the EXECUTE_QUERY on the master block will also affect the detail block.
If it's a standalone (not a master) block, the EXECUTE_QUERY will only affect the block your cursor is in.
Tony -
Distinguish between Query mode and Entered Mode
Hello All,
Could you please tell me how can i say that if the form is in "Query Mode" or in "Entered Mode". I can proceed with my logic, based on this.
Ex: If form is in Query Mode, i will check the count of records in database, and try updating them
If form is in Entered Mode, i will check the count of records in database, and throw an error message saying that, data already exists in data base and you cannot create records.
Please reply me...
Thanks in advance
AushOracle forms by default also provide this functionality. For e.g by pressing F11 it goes in enter query mode, ctrl+F11 it goes in query mode. By default, a form opens in query mode but we can change this behaviour. Also F11 key etc can be changed by editing the entry in fmrweb.res file.
But, if are interested in knowing the form mode programmatically, then you can use system.mode variable
For e.g, do something like
If :system.mode = 'ENTER-QUERY' then
<do something>
end if;
Hope this helps. -
What role is required to open and execute query in BE query designer
Hi,
Am new to BE, need to know what role should i be assigned with to open and execute a query in query designer.
OPEN dialobox displays "NO role availabe".
Is this a problem of role assignment or am i missing some steps
thanks
srikanthIN Enterprise portal plz check whether these roles are present or not.
pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.business_explorer_showcase
pcd:portal_content/com.sap.gm.cnt/core/VCRole
pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.bi_showcase
pcd:portal_content/administrator/content_admin/content_admin_role
pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/Roles/com.sap.ip.bi.business_planning_showcase
pcd:portal_content/every_user/general/eu_role
in BW front end , you have to create role with the auth objects S_RS_COMP, S_RS_COMP1, S_RS_MPRO, S_RS_ICUBE auth objects.
include the t-codes if necessary. RSRT you can include.
Hope this would help you. -
How to set the bind variable on page load and execute query ?
Hi All,
I am using Jdeveloper 11.1.1.5
I have a table called "Employee"
Columns :- id , name , location
Data :- 1, ,james , chicago
2 ,Raj ,capetown
Now i have another webservice(created as a webservice dataControl) which sends me the "id" on each time my page loads.Now the id which has been returned by webservice should be incorporated in my VO Query as in where clause to fetch the data for the respective "id" in that "Employee" table and should be rendered on form.
Eg :- Id "2" has been sent by the webservice then the record should be fetched from database should be "2","raj","capetown".
I know that there would be necessity of bind variable , but how do i set the bind variable on page load ?
How can i use the bind variable appropriately ??
Please suggest !!!!
Thanks.Hi,
Check
http://www.orastudy.com/oradoc/selfstu/fusion/web.1111/b31974/web_services.htm#CJADCDBG
http://thepeninsulasedge.com/frank_nimphius/2011/02/18/adf-code-corner-sample-73-released-hands-on-creating-a-search-form-using-a-pojo-ws-and-the-web-service-data-control/
-Suresh -
Query execution taking longer time in Oracle form 10g !!
Hi,
I'm generating a report through Oracle form ( forms 10g) and its taking 3-4 hours to finish. But when I run the same report query in (Oracle 11g) database, it gets executed in less than 40 mins.
The form takes only from and to date as input.
I tried hardcoring the date in the Oracle Form and then the report takes only 40 mins to generate.
I tried various approaches like changing the datatypes of form variable and correspondingly changing the query, but met with no success.
When the report in run through the form , we can see the query getting run in backend for nearly 3 hrs !!! tats really confusing !!
Please let me know, if anybody got any idea on this problem??Hi,
Even I am facing the same problem above. I am trying to fetch results from a cursor which has subquery running over the db link and placing the results set in a csv file using client_io package. When I run the cursor directly from database (11G), it takes not more than 3-4 min to get the results back. But when I run the same cursor via oracle forms 10G, the query in local database keep on waiting for hours to get results from remote database with "SQL*Net message from dblink". Session on local database remains in active status with state as "Waiting" while the session on remote database goes inactive with state as waiting for event "SQL*Net message from client"
This is confusing me since the same query when ran directly from backend fetches results soon.
Please let me know if anyone can help here
Thanks
Garima -
Log the query of the "Execute Query Task"
Hi,
I want to log/watch the query executed by the "Execute query Task". It's a query with different variables, the different variables i can see in one of the debug windows and these looks OK, but the query doesn't do what's expected. So i want to see the whole query, is that possible?
Query logging on the database server isn't an option. The server is an oracle server and the dba doesn't want to change this setting.
Thanks,
DennisYou could use a single variable to store your entire query, and use that in your Execute SQL task. Basically, you need to set the variable to evaluate as an expression, then build your query string in the variable. You can use this to combine your
other variables into the query, and see it as one value at runtime.
I am using SSIS 2008. I know I can do it with a variable. But I was wondering why SSIS does not allow you to log the query easily. Just for this, I will have to create a variable and a script task :( -
Post query trigger problem in master detail oracle forms
Hello experts,
I am new in oracle forms n using Fission middleware 10g with oracle forms 11g at windows 7 platform.
I have made a master detail form using a tab canvas.There is a database column STUDENTID and it is in my student tab with a TBL_STUDENTENTRY data block.Now I Have an another tab named previous_education with TBL_STUDENT_PREVIOU_EDU datablock here there is also a database column STUDENTID and corresponding field in my previous_education TAB under TBL_STUDENT_PREVIOU_EDU datablock.Now i want to add a display item to show student name corresponding to STUDENTID.For this I have tried to make a select query in TBL_STUDENT_PREVIOU_EDU data block POPST_QUERY TRIGGER.
begin
select STUDENTNAME into :TBL_STUDENT_PREVIOU_EDU.STD_NM from TBL_STUDENTENTRY where STUDENTID=:TBL_STUDENTENTRY.STUDENTID;
end;
But, This trigger is not fired at runtime,Please suggest me what is going wrong and give me the solution.
Thank You
AADITYA.http://www.club-oracle.com/forums/post_query-problem-in-oracle-forms-t9751/#post23794 , This is the link at where I have tried to show my problem with the help of an image,Please get the link:
thanx
regards Aaditya. -
Forms clause query data source data block in oracle forms
Hello experts,
I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Through googaling I know how to create a database block,forms clause data block and stored procedure based datablock in oracle forms.I want to know that as in case of Database based datablock, could we commit form either on editing records or on insertion or deletion in data block.
I tried this but got error frm 40501.If we can perform editing and creation in such type of datablock then please tell me how.
Thank You,
regards
aadityaWhen I base my datablock on a query using the "From Clause" property of the block query data source in the oracle Forms 6i,
I get the strange error
"ORA-00928: missing SELECT keyword"
The query I see in the Display Error in Help Menu is
SELECT DAY_NUMBER,CONSULTANT_ID,EVENT_ID,EVENT_NUMBER,SESSION_NUMBER,HOURS_UNPAID,HOURS_PAID,PAPERWORK FROM (EVENT_ASSIGNED_CONSULTANT) WHERE (CONSULTANT_ID=:1)
What should I do now?????? Please remove the brackets () from the table name.
Instead of (EVENT_ASSIGNED_CONSULTANT) use
EVENT_ASSIGNED_CONSULTANT -
Difference Beetween Query Designer and Adhoc Query Designer
Hello!
can any one explain me what exactly is Adhoc query designer and how is it different from Bex Query designer. can you please provide me links for Adhoc query designer (not to Bex query designer)
with regards
ashwinHi Ashwin,
See this link:
http://help.sap.com/saphelp_nw04/helpdata/en/1f/03223c5f00612be10000000a11402f/content.htm
Basically the Adhoc query designer is a web item that you can include in a web template to allow the user to create or change queries in the web environment. It has some limitations like you cannot use variables, and can only use one structure.
Hope this helps... -
How to configure and call Jasperreport from Oracle Forms 10gr2
Dear All
Please help me in configuring Jasperreport with Oracle Forms 10gr2 or AS.
And also tell me how to call a report from Oracle Forms.
ThanksI have a pro*c precompiled program on unix server (unix environment) and I want to execute or running it from oracle forms, release 4.5 on MS Windows.
how do i execute or running it from oracle forms, release 4.5 ? please tell me what the command (syntaxs) is and all about it ?you can mail me at [email protected]
thank's
Maybe you are looking for
-
Best Way To Set values In Items
Hello, I have a two database items and dynamically I would like to assign values to those items. What is the best way of accomplishing this task? Is there any SET property available or I need to like block_name.item_name :='Value' Regards
-
Is it okay to install the ios 7 of iphone 4s in iphone 4
is it okay to install the ios7 of iphone 4s in iphone 4
-
Quiz with 3 score dependent pass/fail text
Hi there, and thanks for taking time to check out this post. Im creating a quiz for a customer, and they want 3 different texts after quiz depending on the score. Example: score under 10: blablablabla score 10-30: blablablabla score 30+: pass, blabla
-
I previously bought Aperture 3 and installed in on an iMac and a MBP. I just bought a new MBA to replace the MBP, but the MBA doesn't have enough memory for me to do a complete restore of the MBP on the MBA. So I am trying to find a way to deactiva
-
Mapping challenge !! Generate target for unique combination of source field
Hi, I/P: <Segement1> <Article>1</Article> </Segement1> <Segement1> <Article>2</Article> </Segement1> <Segement2> <StoreNum>12</StoreNum> <StoreNum>13</StoreNum> <StoreNum>14</StoreNum> </Segement2> and the output should be like for every unique combi