How to make dynamic search items in a report?

Hi all,
I have two questions.
1. How to make dynamic search (i.e without GO button) field above report to provide dynamic search by words in one field of report query?
2. How to make similar multiply dynamic search fields on report to provide individual search by selected fields of report with refine capability (i.e any search conditions in different fields must work together as complex WHERE clause)
Thanks in advance

hey yuri--
if i'm understanding your questions correctly, the easiest way to achieve the functionality you're after is to have your query criteria fields submit the page when values are entered/selected. the page should then branch back to itself using the submitted criteria in the query. because you're asking about dynamically adding in your where clause predicates, you should consider using a report region of type "SQL Query (Pl/sql Function Body Returning SQL Query)". that way you can use pl/sql to piece together your query based on the provided criteria.
so the part of your question i'm not sure of is when your page should submit itself ("without a GO button" as you said). for your first question, it seems to be a simple matter of javascript. you want users to be able to enter search criteria into a field and have that criteria be using in the report. to facilitate that we have a few self-submitting item types such as "SelectList with Submit" and "Text Field (always submits page when Enter pressed)". for your second question, it seems that you should have a Go button for the user to indicate he's done entering in his query criteria. anyhow, that's up to you, i suppose. hopefully this response will give you the concepts you need to implement this as you'd like.
regards,
raj
ps-after re-reading your post, i now realize there's a chance that you wanted users to not have to submit the page at all when filtering their result sets. if that's the case, you'd have to use javascript for that cumbersome feat. google would be a good place to go for that code.

Similar Messages

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • How to make Dynamically Shortened Text With "Show More"

    Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages  or ASP.NET ?
    example like these paragraphs 
    Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
    Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
    I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
    Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.

    Moved to the main Dreamweaver support forum.
    There are several ways you could approach this. Here's one you might try:
    Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
    <script>
    var first = document.getElementById('first'),
         more = document.getElementById('more'),
         trigger = document.createElement('span');
    trigger.id = 'trigger';
    trigger.innerHTML = 'Show less';
    first.appendChild(trigger);
    function toggleDiv() {
      var state = more.className,
           text = trigger.innerHTML;
      more.className = (state == 'open') ? 'closed' : 'open';
      trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
    toggleDiv();
    if (trigger.addEventListener) {
        trigger.addEventListener('click', toggleDiv, false);
    } else if (trigger.attachEvent) {
      trigger.attachEvent('onclick', toggleDiv);
    } else {
      trigger.onclick = toggleDiv;
    </script>
    This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
    You also need to create the following style rules for the various elements:
    <style>
    #trigger {
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    #more {
        transition: ease-out .7s;
        overflow: hidden;
    #more p:first-child {
        margin-top: 0;
    #more.closed {
        height: 0;
        -webkit-transform: translateY(-600px);
        transform: translateY(-600px);
    #more.open {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        max-height: 600px;
    #more + p {
        margin-top: 0;
    </style>
    This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier.

  • How to make a search form with required items?

    Hi
    I am using JDeveloper 11.1.1.2 and JHeadstart 11.1.1.2.29
    I want to make a Search-form for Searching Employees. I want to search for Last Name OR First Name OR Maximum Salary OR ( Combination ManagerID and DepartmentID). One of these is required.
    On the view object for Employees, I defined a view criteria for the search.
    In JHeadstart, I disable Quick Search and set Advanced Search to model-samePage and Advanced Search View Criteria to the view criteria I just defined.
    But now, I can also personalize the Advanced Search. How can I disable this?
    And is this the right way to create such a Search-form or do you have other suggestions?
    Regards,

    The model-based search is standard ADF functionality.
    Jheadstart simply generate the search component on the page. There are a lot of addiitonal properties on af:query that you can set that we do not expose through the Jheadstart application definition editor.
    You can create a custom template to set those additional properties.
    See the af:query tag doc for more info:
    http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e12419/tagdoc/af_query.html
    Steven Davelaar,
    Jheadstart Team.

  • How to make a search in a form

    Hi
    I have a form with a lot of items(name date,age,height) that i can use to make a search . I found many problems for the search , infact i had to create many cursors, one for each case. For example i would search for age and height or just from date and so on.
    How can i make it more easy?
    Can i use a dinamically query for a cursor ?
    PLZ HELP

    if you don't use oracle default search buttons, then you may code your own search buttons, inside, you may ,
    e.g., user might want to enter height and age fields(Assume the table columns are HEIGHT and AGE),
    then use,
    IF :heightitem is not null then
    w_str := ' AND HEIGHT ='||:heightitem;
    END IF;
    IF :AGEITEM IS NOT NULL THEN
    w_str := w_str||' AND AGE='||:ageitem;
    END IF;
    then you set_block_property('..',default_where,w_str); then execute_query. In order to avoid giving user blank form fields when no records found, which oracle did this badly, then you may use SELECT COUNT(*) into cnt FROM ... WHERE ...w_str to detect the cnt, if cnt > 0 then execute_query, if not, then shoot no record data found message out.

  • Help... How to make a search in ms word documents...

    Hello, im new to portal and I would like to know how to create a text search in some ms word documents. The documentation of oracle context is great, but the integration to portal is very poor.
    I have created a content area an it displays the items, but where to start to make the search in those documents?.
    thanks.
    Mario Bellido.

    if you don't use oracle default search buttons, then you may code your own search buttons, inside, you may ,
    e.g., user might want to enter height and age fields(Assume the table columns are HEIGHT and AGE),
    then use,
    IF :heightitem is not null then
    w_str := ' AND HEIGHT ='||:heightitem;
    END IF;
    IF :AGEITEM IS NOT NULL THEN
    w_str := w_str||' AND AGE='||:ageitem;
    END IF;
    then you set_block_property('..',default_where,w_str); then execute_query. In order to avoid giving user blank form fields when no records found, which oracle did this badly, then you may use SELECT COUNT(*) into cnt FROM ... WHERE ...w_str to detect the cnt, if cnt > 0 then execute_query, if not, then shoot no record data found message out.

  • How to make a search button in a view?

    Hi experts,
    Can anyone tell me how to make a button for a search dialog to search a poste (just like which in ppome) in a view?
    Thanks!

    Hi,
    Create  a transaction iview in portal, call the iview in webdynpro.
    use this code to open the iview in webdynpro java.
    WDPortalNavigation.navigateAbsolute
    ("ROLES://portal_content/<Complete Path of Iview>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_HISTORY,
    (String) null,
    (String) null,
    (String) null,
    true);
    see this http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    Regards,
    Naga
    Edited by: Naga Raju Meesala on Sep 8, 2008 7:51 PM

  • How to make the search box in 'mail' bigger

    HI all
    I use the mail programme in Lion and use a Mcabook pro, There is a search box in the upper right hand corner so you can search through your mails, I have accidently made it smaller and am looking to make the box bigger so I can see the full names of the results.
    I have looked in toolbars and in 'view' and cant fin anything, I have tried to clip and drag, but that does not work either, anyone have any ideas how to make it bigger again,
    Thanks

    Thank you Colin, I managed to delete some of the buttons thus the search bar became bigger, thanks for the inspiration

  • How to make a selected item in woodstock Basic's drop down list highlighted

    I am trying to create a JSF web page and populate Woodstock Basic drop down with options from a MySql database and highlight some options that a user had selected from previous session. How do I make the selected items appear highlighted?
    I would appreciate a response soon.
    Thanks,
    ITTSwengr79

    More specific? It can´t be more specific. Maybe you want me to be less specific.
    At any way, this coding example should say more than enough.
    <sometaglib:someInputComponent value="#{someBean.someProperty}" />
    public class SomeBean {
        private String someProperty; // +getter +setter
        public SomeBean() {
            this.someProperty = "some default value";
    }

  • How to make site search module work?

    Hi guys
    I am working on a sample site http://webmar.businesscatalyst.com/index.
    I had insert a site search module but anyhow when i search for any query and click the Go button, it will go the searchresult page but nothing get displayed.
    I do had placed a {module_searchresults} in the page content area of searchresult page.
    How I populate by search result page?
    Thanks
    Andy

    Andy make sure you index (re-index)your site
    Modules > Site Search > Re- Index button
    If site is a sample site ( demo mode ) I am not sure if it will index with new changes to the way demo sites works. Give it a try it may be ok internally, but wont index with S E unless live site
    Good to re-index if made changes or added content

  • How to make a rotating Item Select for a GUI design

    Hello, I am working on this non profit GUI project and need to make a high-fidelity prototype with the graphics I created. Most of my experience was in web design and i usually used Axure RP pro for making prototypes which works great for web but this GUI is clearly for a video game and thus some of the way menus work are a bit more sophisticated and "flashy" so I decided to use well, flash. Thing is I have very little experience with the action script side of flash and i just need to get a working prototype out asap, I don't have to make anything work perfectly, just enough to get the point across
    My question is on this rotating item select panel. How would i go about using those glowing orange arrows to rotate the whole set of items around the "equip" button when pressed? and how would I program each item to scale up when it snaps as the selected item? And of course the stats change when the item snaps as well.
    I greatly appreciate any help that can be provided on this.

    kglad wrote:
    buttons have a number of limitations that movieclips do not have.  the only benefit of buttons is that they require no coding for up,over,down states while movieclips do.
    anyway, if your up arrow is up_arrow, down arrow is down_arrow and your guns are gun_0,gun_1 etc:
    // assign x0,y0 etc to match the 5 positions of your weapons.
    var index:int = 0;
    var positionA:Array = [ [x0,y0],[x1,y1],...,[x4,y4] ];
    // click listeners that call rotateF
    up_arrow.addEventListener(MouseEvent.CLICK,rotateF);
    down_arrow.addEventListener(MouseEvent.CLICK,rotateF);
    // function called when arrows clicked
    function rotateF(e:MouseEvent):void{
    // loop through each gun
    for(var i:int=0;i<positionA.length;i++){
    // loop through the gun positions
    for(var j:int=0;j<positionA.length;j++){
    // find the position of each gun
    if(this["gun_"+i].y==positionA[j][1];){
    // once the position of each gun is found, determine whether the up or down arrow was clicked
    if(e.currentTarget.name=="up_arrow"){
    // up arrow clicked, so advance to the next gun position
    var nextJ:int=(j+1)%positionA.length;
    } else {
    // down arrow clicked so go back one gun position
    nextJ = (j+positionA.length-1)%positionA.length;
    // assign the ith gun the next or previous position
    this["gun_"+i].x=positionA[nextJ][0];
    this["gun_"+i].y=positionA[nextJ][1];
    // reset the scale on the enlarged gun by resetting all.
    this["gun_"i].scaleX=this["gun_"+i].scaleY=1;
    if(j==2){
    // enlarge the 'selected' (ie, middle position) gun
    this["gun_"i].scaleX=this["gun_"+i].scaleY=2;
    // stop looping through positions.  the ith gun position has already been found.
    break;

  • How to make the line items of sales order cannot be deleted.

    Hi All,
    Is there any Enhancement spots or user-exits which make the line items of sales order cannot be deleted if item category is 'TAN'.
    Thanks in Advance,
    Sudhakar Reddy .A

    Hi All,
    If you doesn't want to delete sales order line items then we have write in the Include Program which has mentioned below and in the form .....endform.
    Program Name :  Include MV45AFZB
    _Example:_
    form userexit_check_xvbap_for_delet using us_error
                                              us_exit.
    IF .......
      US_EXIT = CHARX.
    ENDIF.
    endform.

  • How to make the search faster  in a table ?

    hi ,
    i have got a table wich has one field as a primary key , and this table got 500000 records in it
    wich i try to pop up the (LOV)  it takes about one minute to be retreived
    i dodnt know how to make it faster ?
    could anyone help me how to make faster ?
    and what index should i put on this table ?

    thanks for your help
    and here is the the
    CREATE TABLE MOBWORKSHOP.MOBWSH_GUARANTY
      GRNTY_NO          VARCHAR2(10 BYTE),
      I_CODE            VARCHAR2(30 BYTE),
      SERIAL_NO         VARCHAR2(30 BYTE)           NOT NULL,
      GRNTY_START_DATE  DATE,
      GRNTY_EXPIR_DATE  DATE,
      GRNTY_VALIDTY     NUMBER(1),
      CAUSE_ID          VARCHAR2(10 BYTE),
      NOTE              VARCHAR2(60 BYTE),
      AD_U_ID           NUMBER(5)                   NOT NULL,
      AD_DATE           DATE                        NOT NULL,
      UP_U_ID           NUMBER(5),
      UP_DATE           DATE,
      BRN_NO            NUMBER(6)                   NOT NULL,
      BRN_YEAR          NUMBER(4)
    TABLESPACE MOBWRKSHPTRANS
    PCTUSED    0
    PCTFREE    10
    INITRANS   1
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE UNIQUE INDEX MOBWORKSHOP.MOBWSH_GUARANTY_PK ON MOBWORKSHOP.MOBWSH_GUARANTY
    (GRNTY_NO)
    LOGGING
    TABLESPACE INDX_TRANS_MOBWRKSHP
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOPARALLEL;
    ALTER TABLE MOBWORKSHOP.MOBWSH_GUARANTY ADD (
      CONSTRAINT MOBWSH_GUARANTY_PK
    PRIMARY KEY
    (GRNTY_NO)
        USING INDEX
        TABLESPACE INDX_TRANS_MOBWRKSHP
        PCTFREE    10
        INITRANS   2
        MAXTRANS   255
        STORAGE    (
                    INITIAL          64K
                    MINEXTENTS       1
                    MAXEXTENTS       UNLIMITED
                    PCTINCREASE      0
    ALTER TABLE MOBWORKSHOP.MOBWSH_GUARANTY ADD (
      CONSTRAINT MOBWSH_QRNTY_I_CODE_FK
    FOREIGN KEY (I_CODE)
    REFERENCES MOBWORKSHOP.ITEM_DETAILS (I_CODE),
      CONSTRAINT MOBWSH_CANCEL_CAUS_FK
    FOREIGN KEY (CAUSE_ID)
    REFERENCES MOBWORKSHOP.GUARANTY_CANCEL_CAUSES (CAUSE_ID));
    i made  a button to show  (LOV) and when i press the putton it take about one minute to view the LOV

  • How  to make the search term in Vendor master (XK01) as List box

    Hi,
    I got the requirement to make the search term in Vendor master (XK01) as List box. Is there any way to reach this requirement.
    Thanks in advance
    Suman

    Hi
    U should change the std dynpro
    Max

  • How to make advanced search?

    Can someone help me figure out a way to make advanced searches in iTunes, especially in the App Store? Is there a way to make searches in specific categories for example or for a specific type of functionality. From what I can see, there is only a very generic search engine that will return result from the whole iTunes system, often ending up with thousands of results.
    Thanks for any help.

    From the main iTunes Store page, click "Power Search" at the upper-right of the page. You'll find additional search options there.
    Regards.

Maybe you are looking for

  • Task rule resolution not working

    Hi Experts, I have a created a rule in PFAC to determine possible agents for a task. I have assigned the same under "default rules" tab  of task configuration. Rule container, binding between task container & rule container is also correct & in place

  • Regarding Purchase order MEDRUCK

    Hi gurus,      What actual my doubt is when i saved purchase order that time i need to fetch . For example on 10/01/2008 at 1.00 pm they created purchase order.may be tomorrow they will send that purchase order to vendor.so if they take print out on

  • Preview App printing problem

    Running 10.6.8 on a Quad-Core PowerMac with Canon IP2600 printer via USB. Thought I was running out of ink at first, but a closer look shows documents printed from Preview.app are printing only outlines of black characters and black graphics as if ev

  • My devices not automatically switching between Airport Extreme and Airport Express in extended network

    I have setup an extended network in my home using an Airport Extreme and an Airport Express. The Extreme is connected directly to the FiOS modem and the Express is being used as the extender. The nework is setup fine, but my devices (MBA, iPhone, iPa

  • In the Apple world, why does 'Sync' mean 'Erase' ??

    I have some photos on my iPod, and a few applications. When I try to 'Sync' at work, iTunes 8.0.1 tells me that it will erase the content on the iPod and 'Sync' it to the current iTunes library, which does not contain any photos or apps. Why does 'Sy