Execute query problem

hi,
i need to know the flow of triggers when the keys F7 and F8 are being pressed.
means when i press F7 and F8 which are the triggers getting fired and in which order.
thanks in advance...

In Forms 6i (10gR2 is different)
F7 = enters query = DO_KEY('ENTER_QUERY')
F8 = execute query =DO_KEY('execute_query')
Hit two times F7 and you can see yours inputs.
Regards

Similar Messages

  • Execute Query Problem (Urgent)

    Hi,
    I have created customized horizontal toolbar. There I placed the buttons
    1. Enter Query
    2. Execute Query
    3. Cancel Query
    When I press the Enter Query Button "Go_Block(My_Block) ; Enter_Query ;", it works fine and goes into enter query mode, but when i click Execute Query button "Go_Block(My_Block) ; Execute_Query ;" it does not work and show me the message Press Ctrl+F11 to execute or F4 to Cancel query.
    any solution plz.
    Faisal.

    I am assuming you are using FORMS6i Client/Server (big assumption these days I know but here goes...!!)
    From your reply I think you misunderstood my suggestion!
    When you moved the button into your query block, you discovered the problem! As the button (and current focus) is in the query block, the query can now execute successfully.
    When the button is in the button block with MOUSE_NAVIGATE property set to TRUE, pressing the button will move CURRENT FOCUS back to this block and therefore the query cannot execute.
    You have to set MOUSE_NAVIGATE property on the button to FALSE.
    If you are still struggling, email me to save time!!
    [email protected]

  • Execute Query problem in viewing the Image

    Hi all,
    I've created a table with the following command
    Create table test (id Number(5),img_File Blob);
    Now i've created a form, where in the I've placed two fields (id and Img_File). The data type for the Img_File field is Image Item. I'm able to see that it is getting saved.
    I've seen it using the toad that the data is being inserted into the table. When i try to press f7 and then f8(i.e.., Enter Quey, Execute Query). I'm getting the following error.
    ORA-00932: inconsistent datatypes: expected got
    My block is based on the table. I'm using Forms 6i, Windows XP. My doubt is why the error is not showing the datatype (for Ex. Expected Number got date).
    If any one has worked on the Blob, then can suggest me.
    Regards,
    Alok Dubey

    Hi,
    Thanks for your replies. I've used Long Raw data type for the image column. it started get queying.
    i've a doubt that whether it is same in Forms 6i and Forms 10g also(i.e.., Both the versions use the Long for the images). As BLob has more advantages than
    the Long raw. As this is the Oracle recommendation, I want to use Blob. Is there any work around to it.
    Regards,
    Alok Dubey

  • Call popup, make selection, re-execute query problem

    Hi all,
    I searched and searched, but can't quite figure out how to do this. The javascript/AJAX examples just get me completely lost.
    I have a search page. On the search page I want to allow the users to save and subsequently retrieve a search. I have the part to save search working fine. But, I am having a devil of a time getting the retrieve search functionality to work.
    The popup works fine, and displays the saved searched for that user, and I can get the sequence number of the search returned back to the calling page. But, now that the calling page has the sequence number, I need to submit the page (or whatever is needed for a PPR region), so that it checks to see if the sequence number field is null or not. If it's not null, then query the saved search table to extract the query condition, plug that in to the where clause, and re-execute the query to repopulate the region.
    I have a quasi-working example of what I'm trying to do at on the apex.oracle.com site at http://apex.oracle.com/pls/otn/f?p=11772:3 (if needed, the application is called "test problem", page 3). Due to how my search functionality is setup, using Oracle text, I can't get a 'real' search to perform, so I'm 'faking it' with just a "select *..." on the site.
    Workspace: wbfergus
    username: htmldb
    password: htmldb
    Any help or guidance is greatly appreciated. Thanks,
    Bill Ferguson

    Well, I've finally got it to return the SEQ from the popup onto the calling page and then have the calling page submit.
    However, I now have some other kind of problem that's really vexing me. I've turned on debug so I can see how the page is getting rendered, at up near the top it explicity states:
    0.01: ...Session State: Saved Item "P3_SEQ" New Value="121"
    However, I have a region that is based on a PL/SQL function returning a query:
    declare
    v_stmnt varchar2(4000) := null;
    v_where varchar2(4000) := null;
    v_area  varchar2(4000) := null;
    begin
    if :P3_SEQ IS NULL THEN
    --if apex_application.get_current_flow_sgid(:P3_SEQ) IS NULL THEN
       v_where := :P3_WHERE_CLAUSE;
       v_area  := :P3_AREA_SEARCH;
       htp.p('P3_SEQ is NULL');
       htp.p('');
    else
       SELECT where_clause, search_area
       INTO   v_where, v_area
       FROM   playlist
       WHERE  seq = v(':P3_SEQ');
       htp.p('P3_SEQ = '||:P3_SEQ);
       htp.p('');
    end if;
    --v_where := 'XYZ';
    v_stmnt := 'SELECT   dep_id, dev_st, oper_tp, sig, NAME, ';
    v_stmnt := v_stmnt||'commod, commod_group, ';
    v_stmnt := v_stmnt||'MIN (usgs_num) KEEP (DENSE_RANK FIRST ORDER  BY mt_rec ASC) usgs_num, ';
    v_stmnt := v_stmnt||'MIN (model_name) KEEP (DENSE_RANK FIRST ORDER  BY mt_rec ASC) model_name, ';
    v_stmnt := v_stmnt||'MIN (country) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) country, ';
    v_stmnt := v_stmnt||'MIN (state_prov) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) state_prov, ';
    v_stmnt := v_stmnt||'MIN (county) KEEP (DENSE_RANK FIRST ORDER  BY l_line ASC) county, ';
    v_stmnt := v_stmnt||'MIN (lat_dec) KEEP (DENSE_RANK FIRST ORDER  BY g_line ASC) lat_dec, ';
    v_stmnt := v_stmnt||'MIN (lon_dec) KEEP (DENSE_RANK FIRST ORDER  BY g_line ASC) lon_dec, ';
    v_stmnt := v_stmnt||'mas_id, mrds_id ';
    v_stmnt := v_stmnt||'FROM     NEW_MASTER_QUERY1 ';
    v_stmnt := v_stmnt||'WHERE    dep_id IN ';
    v_stmnt := v_stmnt||'    (SELECT dep_id ';
    v_stmnt := v_stmnt||'     FROM search_table where '||v_where||' ';
    v_stmnt := v_stmnt||v_area||') ';
    v_stmnt := v_stmnt||'GROUP BY dep_id, dev_st, oper_tp, sig, NAME, ';
    v_stmnt := v_stmnt||'commod, commod_group, mas_id, mrds_id';
    htp.p(v_stmnt);
    return v_stmnt;
    END;It always acts as if :P3_SEQ is null, and is confirmed by the htp.p output. But the page explicity knows that :P3_SEQ is not null.?.?
    This is just on my local copy of the app, I'll see if I can put together something on apex.oracle.com that does the same thing. My default query on my app uses Oracle Text, so simulating it requires a bit of extra work.
    Thanks,
    Bill Ferguson

  • Problem in executing query in browser and bex analyzer

    i am not able to execute query in browser nor bex analyzer...
    problem is that i dont have option to run in bex analyzer in query designer (menu bar seems missing in query designer and how can i get enabled
    and when execute the query in browser using bex query designer ..it prompts me with following error
    URL http://saperpdev.saperpdev.com:8002/sap/bw/BEx call was terminated because the corresponding service is not available
    Note
    ■The termination occurred in system ERD with error code 403 and for the reason Forbidden.
    ■The selected virtual host was 0
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:SAPERPDEV_ERD_02-v:0-s:403-r:Forbidden
    and i tried to open the query from bex analyzer  level
    it prompts me as follows
    macros are disabled because the security level is set to high and digitally signedtrusted certificate is not attached to the macros,to run the macros change the security level to lower settings
    pls suggest me

    hi suman,
    thanks for your response.. but let me be more clear
    i am using sap gui 7.20 front end and when i execute rrmx i am able to navigate to BEx analyzer but when i tried to open a report which i create i get following error message..
    you do not have sufficient authorization for infoprovider zic_proj
    function module  /SDF/AL_MAP_TRANSID_LOGH doesnt exit
    second thing is that i tried from bex query designer to execute the report ..but i am not able to execute the report...
    i hope some connections seems missing..please let me know what to do ASAP..
    and where can i post this question to get fast reply

  • Problem in Execute query on non-database block and database block together

    Hi All,
    In my form,i have
    1. First block is Non-database block with one non-database item.
    2. Second and third blocks are database blocks.
    Now the problem is that i want to perform execute-query for all the blocks.
    If the cursor is on the non-database item of 1st block and i clicks on the "Enter-query" then i am getting message " This function can not be performed here".
    If i click on the item of the database block and then clicks on the "Enter-query" and then "execute-query" it's working fine.
    But i don't want to do in this way.
    My cursor will be on the First block only and then it should perform execute-query.
    I am using this non-database item to copy value of this item to the item of the database block item.
    I think i make you understand about my problem.
    I am using forms 10g on Window xp.
    Please help me.

    Hi!
    Simply create a enter-query trigger on the non-database-block:
    begin
    go_block ( 'database_block' );
    enter_query;
    end;If your search criteria is in the non-database-item in the first block,
    you actually do not need the enter_query build-in.
    Just create a execute-query trigger on the first block like:
    begin
    go_block ( 'database_block' );
    execute_query;
    go_item ( :System.trigger_item );
    end;And in a pre-query trigger on the database-block copy the
    value of your seach item into the item you want to search for.
    Regards

  • Problem in execute query?

    hello all,
    table structure:
    create table cor_dept_mst (dept_locn_code varchar2(6) not null,
    dept_code varchar2(2) not null, dept_name varchar2(200), constraint cordeptmst_pk primary key(dept_locn_code,dept_code));
    in form all 3 feilds dispaly.
    when i save new record.. save successfully.
    but when i execute query records not display (do not pass any value)
    records are display after execute if and only if i pass value to dept_code. in this case i pass 01 for dept_code and all records displaying...
    this very silly error.. i use block where clause.
    please help
    thanks
    yash

    oopss.....
    there was a silly code which halt the execute query...

  • 5200:Error Executing Query

    Hi,
    I am getting below error while running a report in FR.
    5200:Error Executing Query:
    Could you please let me know what is the problem and how to resolve it.
    Thanks,

    Hi,
    This might be due to corrupt POV this can be resolved by just deleting POV for the use and again setting it up.
    Regards,
    Gyan

  • Error while executing query in OLAP server

    Dear all,
    we are using APD to extracted sales data for the last 3 months .this APD was executed perfectly till yesterday.
    in today's run APD got failed with error message as below
    "@5C\QError@     Fiscal year variant Z3 is not maintained for calendar year 9999
    "@5C\QError@     Error while executing query in OLAP server; redesign query.
    Please suggest corrective action .
    I have tried executing manually with less selections on creation date by no success..
    regards,
    puru

    Purushotham wrote:
    Hi Jeeth,
    >
    > in query we have selection for " currency type " and created on "  .we are not using fiscal year variant.
    >
    > in first strep of APD design only we have a problem and also recently there are no changes to this APD .
    >
    > It was executed perfectly on till 4th .
    >
    > Edited by: Purushotham on Feb 6, 2012 12:48 PM
    Dear Purushotham, You can maintain the Fiscal year Variant in OB29. 2 possibilities, #1 : Data for the FYV/Year could be wrong. #2 : Updates for Fiscal Year might not have been done. You can maintaine FY varients up to FY 2XXX in your BW system. This should fix the error. The table T009 must be the same as we get when we do OB29 TCode in BW, so via SPRO do rebuild of table again.
    Edited by: Arun Bala G on Feb 6, 2012 4:05 PM

  • 5200 : Error in executing  query -- Hyperion Financial Reporting

    Problem in accessing the Hyperion Financial Reports.User is having full access and able to access all the folders except one folder(Legal Folder reports). We are getting 5200: Error Executing the query error. Recently we have upgraded Hyperion to 11.1.1.3 version . Before upgrade user is not facing the problem. After Upgrade user is getting these errors while accessing the reports. we did research and found in "Error 5200: Error Executing Query" When Viewing Financial Reporting (FR) Reports". Is this error is relevant to the Information provided in Metalink and also can you please tell us is there any impact on doing the solution provided in the below. Why is this error is coming is any preferences needs to be changed.Please help us on this.
    Error Description:
    5200: Error executing query
    Servername/ApplicationName/DatabaseName/Error(1007090) Unknown Member name [Current Point of view for years] in Outline Query
    Doc ID 1107142.1:
    Possible Cause 1:
    If members have recently been added, moved, or deleted from the data source, Essbase, HFM, or Planning, the existing User POV records become out of sync.
    The User Point of View record uses indexing to identify the member. If the index changes because of changes in the outline, the User Point of View record no longer points to the correct location in the outline.
    To resolve the issue, you need to run the ManageUserPOV utility on a Windows server that has the Financial Reporting Reports Server, or in a Unix or Linux environment, has the Financial Reporting Print Server installed.
    You will need to provide a BIPlus Global Administrator user ID and password to run the utility.
    The utility will provide the correct syntax to run the command.
    1. In \Hyperion\products\biplus\bin\ManageUserPOV.properties, specify the following parameters:
    a. ReportServer
    b. DatasourceUser
    c. DatasourcePassword
    d. User
    e. Datasource (You can find the datasource in Workspace under Tools>Database Connection Manager in the Name column.)
    2. From the command line, cd to Hyerion\products\biplus\bin
    3. Type in "ManageUserPOV" without the quotes. The executable will read the parameters previously set in the ManageUserPOV.properties file.
    Thanks,
    Naresh.

    Take a look at this: http://adistrategies.com/index.php?loc=knowledge1&item=291
    Hope it helps.
    Mehmet

  • FR reports error-5200: Error executing query

    I'm working on FR-11.1.1.3.0238 version. i'm facing issues with some of the reports related to planning application db while launching reports in workspace. Where as the reports are opening with out any issues in FR studio and there is no error message recorded in the studio.The error message is recorded in the workspace related log file.
    I thought that there might be any pov corruption issue so i ran the ManageUserPov utility as well but there is no luck.
    Let me know the cause of this error message and also the resolution for it.
    Below is the error message info,
    *12-12 09:29:10 ERROR jsp     5200: Error executing query: java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException*
    com.hyperion.reporting.util.HyperionReportException: 5200: Error executing query:  java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException
         at com.hyperion.reporting.webviewer.WebDynamicReport.execute(Unknown Source)
    jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrrunjob._jspService(__hrrunjob.java:1411)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:531)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:459)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:159)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:180)
         at jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrcheckforpovorprompt._jspService(__hrcheckforpovorprompt.java:1486)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRSecurePagesFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Thanks in advance
    Edited by: kailash on Dec 13, 2012 5:59 PM

    Neeraj,
    In the FR report server the settings are as you suggested except the TcpTimedWaitDelay = 60, this setting is set to 30.
    The same settings are there in Essbase and Planning servers.
    So i would like to know what exactly is all about the setting and the possible cause of the problem. It would be very helpful if i can get the cause.
    Thanks in advance
    Edited by: kailash on Dec 19, 2012 9:03 PM

  • Profile Parameter : Time out for executing query on the web

    Hi gurus,
    I am executing queries on the web directly. This can be done from query designer with the button that says "Execute query on web". The problem is that for queries that take more than 600 Secs to run, I get an Application timed out error. Queries that take less than this run smoothly.
    Can anyone please tell me the profile parameter associated with this particular setting. It is not rdisp/max_wprun_time, I know for sure since the value for this profile parameter in my system is 9999. Please help.
    Thanks & rgds,
    Sree

    Issue resolved.
    Profile Paramter - icm/server_port_0
    Current Value - PROT=HTTP,PORT=8000,TIMEOUT=60,PROCTIMEOUT=600
    Changed to - PROT=HTTP,PORT=8000,TIMEOUT=60,PROCTIMEOUT=3600
    rgds,
    Sree

  • Error Opening Reports (Cannot find Dimension Scenario, Error executing query: the member null doesn't exist in this application)

    Hello,
    two of our users get the following error message, when opening two specific reports:
    First Report: Cannot find Dimension Scenario.
    Second Report: Error executing query: the member null doesn't exist in this application.
    Other users can access these reports, and the same users where the problem occurs can access other reports in the same folder.
    I set the same rights for me, but i can access the reports without problems.
    Somebody encountered the same problem before?

    Hi there,
    I had the same issue a few weeks ago... not sure how it happened but it was related only with my username.
    In order to fix it:
    1. I created a report which does not require to select the scenario in advance. Try to use the default data-grid that you get when you first create a report for example.
    2. When the user runs the report, try to see if he can see the dimension. Do not use the missing dimension on rows or columns. If he can see the dimension, ask him to select one scenario. This will solve the issue.
    3. If he cannot see the dimension, try to change the layout of the report.
    Regards,
    Thanos

  • Not coming out from DB Tools Execute Query

    When I am removing my Ethernet connection and again connecting[for server client communication ], then sometimes the DB Tools Execute Query.vi function stucked inside and not coming outside from this function for infinite duration.
    How can I come out side this function when some network issue will come?
    When network connection is OK then that time there is no any problem, it actually occurs when network connection lost during the program ececution.

    It's hard to say what the problem is. One recomendation would be to drop usage of the database connectivity toolkit as it adds a lot of complexity and limits your options for troubleshooting problems. There is an alternative here. Read the discussion and download the drivers...
    Also, what kind of database are you connecting to?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • 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

Maybe you are looking for

  • Can't move files from one volume to another

    Using the 1.2 client on SLED, I don't appear to be able to move files from one volume to another. I have two drive "mappings", each to a different volume on a NW65SP5 box, but when I try and cut and paste files I get an error saying "Not on the same

  • My 2010 cannot see the external HD anymore.

    Hi, I bought a new LaCie 1TB and hooked it up to my 2010 MBP. Launched the setup assistant and formatted the drive. The format crashed and I was told to check my usb cable. Since then, I have not been able to see the drive. I can connect other USB de

  • Applet not displaying in IE but working well by  jbuilder

    I m trying to open applet in IE but it is not displaying but it is working well when i run it through jbuilder ....in IE it give these exception in java consol java.lang.ArrayIndexOutOfBoundsException: -1      at PicMsgComposer.setModels(PicMsgCompos

  • IPhoto pictures appear grainy

    I am new to this forum and am in no way an expert on computers or photography- so excuse any stupidity in my questions. All photos that I have uploaded to iPhoto appear grainy, blurry and appear to have problems with highlights and just appear very b

  • CSKS, KS02 change pointers for Z fields

    Hi, I have extended CSKS with new Z fields. Also ALE'ed this to other SAP system. But this is not creating any change pointers for this new z fields. The changes are tagged in CDHDR, but not into BDCP2 table. Is there any settings which needs to be d