Forms property 'Maximum Query Time'

Running Forms 6.0
I would like to use the forms property
'Maximum Query Time'
It doesn't seem to work.
Do I have to make some kind of setup on the server?
What unit is 'Maximum Query Time' - seconds?
- Flemming
null

Hello pradeepantony,
According to the help file, that property is:
Provides the option to abort a query when the elapsed time of the query (in seconds) exceeds the value of this property.
How you would use it would be if you did not want your user to sit and wait a significant amount of time while a query executes. Some processes can take a fair amount of time on a busy database. Setting this property will assure your user will not wait any longer than the number of seconds you set in this property.
I have a couple of stored procedures that take "many minutes" to execute. If a user had issued a query against a table that one of my stored procedures had locked and I had set this parameter, the screen would abort the query and not wait for my stored procedure to complete. Otherwise, the user would have to wait until the database freed up the table before completing the query.
Hope this helps,
Don.
You can reward this reply by marking it as either Helpful or Correct :)

Similar Messages

  • Can we change [maximum number of records per page] property at run time

    can we change [maximum number of records per page] property at run time in report 6i

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • FRM:41361 Cannot navigate out of form in 'Enter Query Mode'

    Hi,
    I am using a master - detail block in my form.When I query the master block I am getting this error message
    FRM:41361 Cannot navigate out of form in 'Enter Query Mode'
    I have given DO_KEY('ENTER-QUERY') in WHEN-NEW-BLOCK-INSTANCE trigger of master block.
    and in property palette of Master block I have given the next navigation block as Detail block.
    According to the value which is queried in Master Block the Detail block should be populated.
    My form should open in 'Enter Query Mode'.This problem always happens from second time onwards
    I open the form.When I open the form first time this problem is not occuring.
    Can anyone suggest a solution for this
    Thanks,
    Nasiya

    Have you written a Key-EntQuery trigger at the Master block or the form level,
    If yes, then can you put that code here.
    The NEXT-NAVIGATION-BLOCK is only used for navigation when you use a next-block built-in on a key-trigger.
    Have you written a ENTER-QUERY command on any trigger that fires prior to the said WHEN-NEW-BLOCK-INSTANCE trigger?
    If yes, then thats the reason that the first time you run the form, your form is in ENTER-QUERY mode.
    Also, maybe execute on enter-query fails and hence the blocks are not getting populated.
    Also, ENTER-QUERY is always on a single block. And while the block is in enter-query mode, navigation out of that block is prohibited.
    you have to either have a successful EXECUTE-QUERY or use:
    EXIT_FORM(NO_VALIDATE) to come out of ENTER-QUERY mode.

  • How to speed up the query time after adding order by

    Hi,
    In Form 6.0 front-end and 8i server, I put an "order by date
    column desc" in Block Property and when I hit query button the
    screen will bring up the most current date data instead of
    oldest date data. The problem is slowing down the query time,
    because the "order by" does the resorting work in the user temp
    table space. The base table to be queried also contains two
    varchar2(1500) columns and that also slow down the query time.
    I am wondering if there is any other way to bring the current
    records first without slow down the query speed ?
    Any thought will be helpful and appreciated.
    Thnaks!
    Tony
    null

    anthony hsu (guest) wrote:
    : Hi,
    : In Form 6.0 front-end and 8i server, I put an "order by date
    : column desc" in Block Property and when I hit query button the
    : screen will bring up the most current date data instead of
    : oldest date data. The problem is slowing down the query time,
    : because the "order by" does the resorting work in the user
    temp
    : table space. The base table to be queried also contains two
    : varchar2(1500) columns and that also slow down the query time.
    : I am wondering if there is any other way to bring the current
    : records first without slow down the query speed ?
    : Any thought will be helpful and appreciated.
    : Thnaks!
    : Tony
    What I have done is use hints to force the use of an index in
    descending order. The part of the following example that
    pertains to your question is the index_desc hint. Syntax and
    suggestions for using hints are in the Oracle documentation.
    The column you want to order desc by would have to be in an
    index. The following example creates a view which you might not
    need to do.
    create or replace view v_sample_result as
    select
    /*+
    first_rows
    index ( sa )
    index_desc ( t c_test_altk )
    index ( r c_result_pk )
    index ( lt )
    null

  • How to map a custom enum list to a custom form property in an extended incident class

    Hi,
    I'm struggeling to understand how to map a custom enum list to a custom form property in an extended incident class.
    Here's what i want to have happen:
    I am going to publish a request offering on my SMPortal for allowing users to submit basic IT incidents. I want the form to include "Whom does this problem affect" (answers(This is the custom enum list): Me, Multiple Users, Whole department or Whole
    company), "What is the problem about", "Description" and "Attachments".
    Here's what i've done:
    In the authoring tool i created a MP for the custom enum list and put only the list in it. I sealed the MP and imported it.
    I created another unsealed MP called TST.Incident.Library for storing incident library customizations and extended the incident class to add an extension class i called ClassExtension_Affected scope with a custom property i called AffectedScope. Then i am trying
    to set the datatype of this property to "list". In the "select a list" dialog i cannot chose my previously sealed MP with the custom enum list in it. Why?
    - Do i need to scratch the sealed MP and put the custom enum list in the latter TST.Incident.Library MP instead?
    - If so, can i do that and keep this MP unsealed, or will i get an error on import saying "Unsealed management packs should not contain type definitions"
    - Should i create one sealed MP for both the custom enum list and the extension class + custom property?

    Hi,
    Authoring Tool simply isn't informed about your list. Open the sealed management pack where you define the root of the list in the Authoring Tool and in the same time open TST.Incident.Library. You will have two opened MPs in the Authoring
    Tool and be able to add a custom list for your custom field.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Query time limit in OBIEE

    Hi experts,
    When any report/query run above 10 minutes it terminate automatically.
    But I need to run some reports/query in OBIEE more then 10 minutes.(This only for some reports.)
    Any sugg.
    Thanks.

    Hi User,
    Follow below steps..
    To limit queries by maximum run time or to time periods for a user or group
    1. From the Administration Tool menu bar, choose Manage > Security.
    2. In the Security Manager dialog box, in the tree pane, select Users or Groups.
    3. In the right pane, right-click the name that you want to change and select Properties.
    4. In the User or Group dialog box, click the Permissions tab.
    5. In the User/Group Permissions dialog box, click the Query Limits tab and expand the dialog box to see all columns.
    6. To specify the maximum time a query can run on a database, in the Query Limits tab, perform the following steps:
    1. In the Max Time column, select the number of minutes.
    2. From the Status Max Time drop-down list, select a status using Table 36 as a guide.
    7. To restrict access to a database during particular time periods, in the Restrict column, click the ellipsis button.
    8. In the Restrictions dialog box, perform the following steps:
    1. To select a time period, click the start time and drag to the end time.
    2. To explicitly allow access, click Allow.
    3. To explicitly disallow access, click Disallow.
    9. Click OK twice to return to the Security Manager dialog box.
    Thanks
    Aravind

  • 10g Form - first execute query - very slow

    I have the following issue:
    Enter an application
    open a form in enter query mode
    first time execute query is very slow (several minutes)
    every other time it's quick (couple seconds or less)
    I can leave the form, use other forms within the app, come back and query is still quick. It's only the first time after initially launching the app.
    Any ideas what might be causing this?

    We have the same application running in 6i client/server DB-9i in production. We are testing the upgraded application that is 10g forms on OAS DB-10g. We don't have the issue in the current production client/server app.

  • Is there a faster form of this query?

    I received a table of corrections that have to be 'propagated' to a master table, i.e. the corrections table is composed of a few columns and every value of every column of every row must be used to update the corresponding row-column in the master table. Both tables have id columns that can be used to match rows from the two. The query I was given to do this was:
    update master a
    set a.calculated_error = ( select calculated_error from corrections b where b.id = a.id ),
    ... additional columns to update follow with the same syntax.
    The columns being updated are not indexed in either table.
    The query takes a very long time to run. I suppose I can see why, lots of queries on columns that are not indexed so each query involves a table scan.
    Is there a faster form of this query?
    Thanks,
    -=b

    In additon to Herald's suggestion, assuming he is correct in his assumption that corrections is small in relation to master, I might also consider updating all of the columns in one shot. something along the lines of:
    update master a
    set (a.calculated_error, a.first_add, a.second_add) = (select calculated_error, first_add, second_add
                                                          from corrections b where b.id = a.id )
    WHERE a.id in (SELECT id from corrections)Alternatively, if corrections.id is unique, I might also try creating a unique index on it and using an updateable join view like:
    UPDATE (SELECT a.calculated_error, a.first_add, b.second_add,
                   b.calculated_error new_calc, b.first_add new_first,
                   b.second_add new_second
            FROM master a, corrections b
            WHERE a.id = b.id)
    SET calculated_error = new_calc,
        first_add = new_first,
        second_add = new_secondIf you need to deal with NULLs in corrections, then use something like:
    SET first_add = NVL(new_first, first_add)John

  • Set search text when form is in query mode

    Hi forum members,
    is it possible to set the value of a textfield when a form is in query mode?
    In our form you can enter query mode with F7 and execute the query with F8.
    When you go back to query mode with F7 and then press F7 again, the search criteria of the past query appears.
    Now in our form there is an alternativ search, that can be executed in query mode with F9. A different search canvas appears then with a more detailed search.
    When I go back from that canvas to the initial canvas, change to query mode with F7 and try to get the last search criteria with F7, not the last search criteria (from F9 search) appears, but the first one (F8 search).
    I have tried to copy the search value into an invisible textfield and then copy it back to the search field when F7 is pressed after the alternative search canvas was closed.
    Instead of appearing in the search field, a new record is created in background.
    Is there any other way to set the value of a textfield in query mode?
    Thanks,
    Marco

    Hi Craig,
    thank you for this hint.
    Unfortunately it does not solve my problem.
    My goal is to fill the search fields with values when they are in query mode.
    I try to explain it step by step:
    Step 1
    - In my Form I change to query mode with F7.
    - I fill a search field, e.g. Name: TIGER.
    - Then I execute the search with F8.
    - Record is displayed in the block
    Step 2
    - I press the F7 Button to change to query mode again
    - Now when I press F7 again, the search values from the last search (TIGER) appear (I think it is a standard forms functionality, isn't it?)
    - I execute the search with F8
    - Record is displayed
    Step 3
    - Again I change to query mode with F7
    - I fill the search field (this time Name: SCOTT)
    - Now advanced search is executed with F9
    - A special search canvas opens over the form with result records and more detailed information to the result
    - I close the search canvas
    Step 4
    - Again I change to query mode by pressing F7
    - I want to get the search value from the last search (SCOTT) by pressing F7 again
    - Value from the first search appears (TIGER)
    My goal is to save the search value from step 3 anywhere (in a variable or copy field or something) and get it back in step 4 when the form is in query mode.
    It seems to me that it is not possible to fill fields that are in query mode, is that right?
    Thanks a lot!
    Marco

  • FRM-40208: Form running in query-only mode. Cannot change database fields.

    Hi,
    I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
    Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
    Regards,
    Rajesh

    thanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!

  • [OIM] - Form Complex Lookup Query on child form

    Hi all expert
    I have two form, which is parent-child relationship.
    I need to form a lookup query on child form's lookupfield to let user select the value but lookup query depens on the parent form on what user selecting..
    Example as:
    Parent form - Country Code - 100
    Child Form - Department Code - Lookup query will be = Select DepartmentCode From DeparmentLookup where country ="100"
    The "100" value depends on what user choice on CountryCode fro mparent form.
    Can i do something like this ?
    Thank in advanced
    John

    This happen for a property setting in the relation. try this..
    Select all your relation in the form under Relation nodes (data block >> relation)
    go to property or press F4 and set the following property to YES
    Prevent Masterless Operations = Yescompile and check..
    Hope this will works.. ;)
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • FORM PROPERTY CHANGES

    In forms 6i,
    Property of field in forms changes automatically. This
    happens even when the property of field is set by property class
    and also for other items.
    I am unable to understand the problem in this. Has anyone faced
    problem like this. Please reply us back on this.

    We converted forms 4.5 version to forms 6i. A new width need
    to be changed from varchar2(5) to varchar2(12). I made the
    change in the form by setting the form property width to 12.
    When i rechecked the field after some time, the width changed
    back to the 5. Another major problem is database Yes/No
    property for fields also changes drastically. Certain control
    fields are set to database yes automatically. It would be of
    great help if you can help us in sorting out this problem.
    Regards
    Raji

  • Change of Row Property during query execution possible?

    Hello Experts,
    is it possible to change the row property during query execution?
    In the case an input ready IP query can be executed for different customers. Depending on the customer class (attribute of customer), a certain row (containing account data) should be input ready or only be shown, but not input ready.
    How can this be achieved?
    Thank you!
    Angie

    Hi Angie,
      To determine the input readiness at  Run time based on the master data value of a particular characteristic value (In your case Customer),
    you can create data slice of type exit .
    The data slice is based on an exit class. In the exit class, you can implement a customer-specific logic to protect data records.
    Please refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/43/0c033316cd2bc4e10000000a114cbd/frameset.htm
    for more information.
    By using this, the required rows will be shown but not input ready ( As per your requirement)
    Hope this info helps. Or do let us know !!
    Best regards,
    Akshata

  • Re: BI Erecruiting Query time-to-fill,

    Guys,
    I have activated the standard query time-to-fill, i am getting an error
    Value '-1' is invalid for property 'Ref. Characteristic' of element 'Time-to-Fill (Days)'
    I checked the exception aggregation, Under Exception aggregation points to use standard aggregation & ref. characteristics to -1. Now if i have to change the ref. characteristics what value i have to choose.
    this is the formula used for CKF 'Time-to-Fill (Days)'
    Candidacy Status == 3 * candidacy start date - requisition creation date.
    technical Name: 0ERC_ IS02_Q0001
    Regards,
    Anand
    Edited by: araj123 on Oct 14, 2010 9:53 PM

    Hi,
    How did you solve this problem ? Or what did you do to make this query work ?
    Thank you!

  • ORA-02399: exceeded maximum connect time, you are being logged off

    What could have been the cause of "ORA-02399: exceeded maximum connect time, you are being logged off"? I am always getting that issue even if I am continously doing some query.

    There's a resource limit active (RESOURCE_LIMIT=TRUE in pfile/spfile) and a user_profile (which limits the connection time) dedicated to the user.

Maybe you are looking for

  • Lost a calendar in iCal

    I inadvertently deleted one of my calendars from iCal. I don't have a backup database. Any way to retrieve that calendar and it's listings??? Not optimistic.

  • File Save Dialogue

    With previous versions, I would use hot key Shift+Command+S to save as - it would open file save dialogue (looked like mac OS) and I could choose location (by default it was in same location) and I could rename and save/ replace. With Pro DC update,

  • How to copy the SE11 table view as Web Page Format?

    SAP Experts,                     Good Morning..! I have to take a Copy SE11 Table View as a HTML format.                     Please tell me the way to take a copy as Web page?

  • How to upload 15 lakhs of record onto ztable with performance

    I have 15 to 20 lakhs of records in my internal table. I'm uploading it onto ztable in se11. While doing so, it's taking lot of time. I'm writing the following query: MODIFY ZTABLE       FROM TABLE  ITAB(INTERNAL TABLE NAME). Please let me know if th

  • Flash 10.1 Freeze Internet Explorer when I use strokemediaplayback in intranet

    When I test flash in my company intranet(cannot link internet),I found the flash will freeze the IE. I found this when: I open a page include flash content which use strokemediaplayback to play a movie. The content page locate on my IIS server(not lo