Search in form

Hi All
I have this code for search i want search by two items like that either one field is fill or both were filled i tried but not succeed
please guide
Same type of one more search field need to add
declare
     l_where varchar2(4000);
begin
  if :search_type  = 'ALL'  then
       l_where := 'COUNTRY||CITY||PIN_CODE||party_name||del_date||item||value||agent_name
       ||TYPE||vip_cutomer||comment1||SALE_ORDER_NO||SHOW||CURR||DELIVERY_STATUS  like ''%'|| :serch_value ||'%''' ;
  else
       l_where := :search_type ||' like ''%'|| :serch_value ||'%''' ;
   end if;
  -- set_block_property('order_tracker1',default_WHERE,l_where||'order by serch_value');
   set_block_property('ORDER_TRACKER2',default_WHERE,l_where);
      --set_block_property('order_tracker1', ORDER_BY , 'party_name');
      go_block('ORDER_TRACKER2');
      execute_query;
end;Thanks And Regards
vikas Singhal

declare
     l_where varchar2(4000);
begin
if :search_type = 'ALL' then
l_where := 'COUNTRY like ''%'||:serch_value||''%''|| 'and city like ''%'||
:serch_value||''%''|| ' and pin_code like ''%'||:serch_value||''%''|| 'and party_name like ''%'||:serch_value||''%''||
' and del_date like ''%'||:serch_value||''%''|| 'and item like ''%'||:serch_value||''%''|| 'and value like ''%'||:serch_value||''%''||
'and agent_name like ''%'||:serch_value||''%''|| ' and type like ''%'||:serch_value||''%''||
'and vip_cutomer like ''%'||:serch_value||''%''|| 'comment1 like ''%'||:serch_value||''%''||
'and sale_order_no ''%'||:serch_value||''%''|| 'and show like ''%'||:serch_value||''%''||
'and curr like ''%'||:serch_value||''%''|| 'and delivery_status like ''%'||:serch_value||''%''; else
     l_where := :search_type ||' like ''%'|| :serch_value ||'%''' ;
end if;
-- set_block_property('order_tracker1',default_WHERE,l_where||'order by serch_value');
set_block_property('ORDER_TRACKER2',default_WHERE,l_where);
--set_block_property('order_tracker1', ORDER_BY , 'party_name');
go_block('ORDER_TRACKER2');
execute_query;
end;

Similar Messages

  • Change the Order of Fields in the Search Lookup Form

    Hi guys,
    The end user has requested me to change the order of the fields in the Search Lookup Form. I haven't found any configuration to change this order, so I changed the JSP (tjspLookupFormTiles.jsp) as below:
    <bean:define id="colIDsObj" name="lookupFieldForm" property="columnIDs"/>
    <%
    //Sort Column IDs
    String[] colIDs = (String[]) pageContext.getAttribute("colIDsObj");
    colIDs[0] = "Lookup Definition.Lookup Code Information.Decode";
    colIDs[1] = "Lookup Definition.Lookup Code Information.Code Key";
    %>
    Is there any property where I can change this order without change the JSP File?
    Thanks,
    Renato.

    I had a similar requirement in the past, but could not find any other way for doing this. It does not reverse the order even for lookup fields on USR forms, for which the encode and decode values are defined in formmetadata.xml. Changing jsp seems to be the only way, unless someone else knows better.

  • I inadvertently typed in a wrong account number which now shows up in the Account # drop down box. Is there some way that I can clear this (or all) entry and still let Firefix remember search and form entry? Thanks Mike Callahan

    The Scottrade web sight requires an account number as well as a password to log in. I inadvertently typed in an incorrect number and would like to eliminate it from the 'remembered' accounts. My only solution seems to be to turn off Remember Search and Form Entry but that impacts the correct account numbers and all other web sites as well.

    Click the (empty) input field on the web page to open the drop down list
    Highlight an entry in the drop down list
    Press the Delete key (on Mac: Shift+Delete) to remove it.
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    Firefox/Tools > Options > Privacy > Firefox will: "Use custom settings for history" > "Remember search and form history"
    https://support.mozilla.com/kb/Form+autocomplete

  • Firefox no longer gives automatic prompts when I type in first few letters of a search - even though my browsing history is being recorded, and "Remember search and form history" is ticked in the Privacy preferences: what's gone wrong?

    Firefox has recently stopped giving (personalised) automatic prompts when I type in the first few letters of a search. What does come up is a long list of possible search subjects - but these are very general and don't reflect my own personal browsing history. My browsing history IS being recorded, however, and the "Remember search and form history" box is ticked in the Privacy preferences.
    I'm not using the "Private Browsing" option.
    There are two MacBooks in the house, sharing one wireless router. This problem has cropped up on both laptops - mine and my wife's - at around the same time.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Data search in form fields inside a workflow

    Want to do a search on forms based on any / all fields defined in the form. Since the form is user defined and form field data may change as it passes through the workflow (and can be at any stage except completed), what will be a clean way to do the search? Please note that we may not have prior information about form fields (user is free to define any form/ field) and we want the solution to be a generic one. Is it possible in any version of LC including latest release?
    Thanks for your help.

    Hi Howard,
    Thank you for your reply.
    I shall remember not to cross post in future. Please excuse me for my ignorance.
    This is what I want to do:
    1. The client has defined workflow and form(s) (with business fields) and I do not have prior information of these fields.
    2. Users of the above mentioned workflow started workflows by submitting completed forms.
    3. These forms are at different stages of processing in the workflow (but not completed).
    4. The requirement is to find those forms that contain say "Susanta" in any field and list those forms with processing status.
    5. The search string could be any alphanumeric string, and the search is restricted on field values only. However the assumption is that the search need not know what are the fields in the form. The workflow and the form name are known.
    I'll appreciate further hint from your side. Thanks in advance.

  • Search in forms ( iOS Numbers)

    I would like to be able to search in forms on IOS, so to be able to find an entry quickly and change parameters, rather than flipping through each encounter. Looks like I can only do this within the spreadsheet. Is it possible to search within forms?

    esiasfromvancouver wrote:
    Is it possible to search within forms?
    No, it isn't.

  • Matchstring search in Forms Developer

    Hi ORACLE Forms team,
    I need urgently a matchstring search in Forms Developer [9i, 1xi, ..] about the complete PL/SQL code.
    It must be possible to find any text: "... message('findtext')" and to open the code window.
    The compiler displays errors in a code window but I must find my text in big Forms projects also.
    Regards
    Friedhold

    Hi Zdenek,
    exactly, this is what I want.
    Best regards
    Friedhold

  • Modification request - Search and Form History

    Hi,
    Firefox options are currently set to include a checkbox for "Remember search and form history." I'd like to request that this be modified to two separate checkboxes: "Remember Search History" and "Remember Form History."
    Why? Because some people want one but not both. I want to be able to fill in forms quickly at sites that I frequent. But I don't want the search bar regurgitating search phrases that I'm no longer looking for. Searches and forms are different situations and should be treated as such.
    Thank you.

    Hello,
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    If you want to leave feedback for Firefox developers, you can go:
    * Help (or Menu [[Image: New Fx Menu]] > [[Image: Help-29]]) > "Submit Feedback..."
    Or use [https://input.mozilla.org/feedback this link]. Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.

  • Filter Predefined Properies, Feedback Search, XML Forms Show form issues

    Hi all,
    I have created XML forms with XML builder and I have some questions.
    1. When filtering by predefined properties I want to filter by two properties, which are the same. For example, if there is a publication with two authors and author is the predefined property, in the first field I write the name of the first author, in the second field I write the name of the second author, the result is all publications, which are by both authors and all publication, which are either by the one, or by the other.
    I don't have this problem when I filter by two different predefined properties. For example the author and the year. Than the result is all publication, which are by the author AND published in the requested year.
    How can I set this option to be able to filter by two same predefined properties and the relation between both properties to be AND?(only publications by both author)
    2. In the Show form I have created link to the feedback, using XML Forms BUilder, but I need to write first the feedback to be able to see already existing feedbacks,
    if there are any. In the ResourceRendering Form I have created link to the feedback by LayoutSet, where I can see first, if there are already existed feedbacks.
    If there is any possibility to set a LayoutSet for the Show Form or any other way in the Show form to display first the existing feedbacks and than to be able to write a new.
    And something else reffering to the Show form, is it possible to rate the item from Show form or at least to have link to the rating, not a link to the Details.
    I have tried to create a link to the /Properties/col:rating, but it doesn't work. The link dispays the value, if it has been already rated.
    3. Is it possible to search for any information in the feedbacks(to make the feedback searchable)?
    Thanks in advance for any help.
    Best regards,
    Zlatina

    Hi Zlatin,
    -> 1
    By Default identic properties queries are connected by an 'OR'.
    Please have a look into the documentation for further info.
    http://help.sap.com/saphelp_nw04/helpdata/en/85/80b3d4c9ef11d5993e00508b6b8b11/frameset.htm
    -> Search Options
    So far it's not possible to connect two identic proerties by an 'AND' within the standard.
    You can preset a search filter via the relevant Search Option Set.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/765140c770cd01e10000000a155106/frameset.htm
    Regards Matthias Röbig-Landau

  • Trying to Add "search" to Form

    In JDev 10.1.2, I have a JSP with a read-only form that has the navigation buttons at the bottom ('First-Next-Previous-Last') and an LOV at the top that also controls which record I am viewing. I have been trying to add the capability to search on the same page for people that know the record they want so they don't have to scroll through 500+ ID numbers in the LOV.
    I've tried adding a textbox & button, but the only thing I can get it to do is change the number that is visible in the LOV for that particular record. If I navigate using the LOV, it automatically puts the correct number in the textbox as it changes the record. It just doesn't work the other way.
    I'm (pretty) sure that this is possible, but I haven't seen examples of it and haven't been able to figure it out for myself. Any advice?

    re-post

  • Creating a Search Criteria Form Using Oracle ADF Find Mode (10.1.2)

    Hi Guys,
    Any useful sample links on how to create a custom search form? Basically I have to control parameters and I want to show that in the form..
    Thanks!

    I mean like I have Name and Department as Search Parameters (added as text box maybe) then Search button. after clicking search I want to display the result in same page in a form/table.Im using the UIX page and I added Data Page in the Struts Layout but dont know how to add the form and how to implement the parameter part..
    ..Thanks!

  • Dynamic form search in form builder

    Hello folks, I am relatively new to form builder, only a few months of experience, and here is the problem that I am having.
    I have this table, table1, with columns A,B,C,D..etc, I want to set up the search page in the following fashion:
    - One text field for every column of the table
    - The user can fill some of these text field, and leave others empty.
    - the form should only search for the columns in the text fields that are not empty, for example, if I leave the text field corresponding to A empty, then I can search for any value of A.
    - the result of the search is displayed in an LOV.
    I have read around and I found it to be something like that in the LOV query:
    SELECT *
    FROM table1
    WHERE
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and etc for all columns...
    Or maybe this:
    SELECT *
    FROM table1
    WHERE (A = :block.A_text_field AND :block.A_text_field IS NOT NULL) OR
    (B = :block.B_text_field AND :block.B_text_field IS NOT NULL)OR etc for all columns....
    I haven't tested these two sample codes, because the server is closed currently, but would they work knowing my requirement? Would this query search for any value of B if the B_text_field was left empty? eg. user types 55 in A_text_field and leaves B_text_field empty; would it generate an LOV that shows A=55 and B any value?

    well to my mind this where clause
    (:block.A_text_field IS NULL OR table1.A = :block.A_text_field) and
    (:block.B_text_field IS NULL OR table1.B = :block.B_text_field) and [...]returns:
    if A_TEXT_FIELD is entered, then the column A column has to be exact the value of A_TEXT_FIELD (:block.A_TEXT_FIELD = table1.A) else if it there isn't any value entered there is no limitation for table1.A (:block.A_TEXT_FIELD is null with OR condition).
    When entering A_TEXT_FIELD and B_TEXT_FIELD, both limitations have to be fulfilled (if only B_TEXT_FIELD is entered just the B_TEXT_FIELD condition has to be fulfilled of course).
    When you don't enter any conditions in your textfields, you get all records from the table
    whereas the second construct won't return anything if you don't enter some data in your text fields.
    guess this:
    :block.a_text_field is null and :block.b_text_field is null, so this would be:
    (A = NULL and NULL IS NOT NULL) --this is false
    OR (B = NULL and NULL IS NOT NULL) -- this is also falseyou can simply check this by issuing the following query in SQL*Plus or something:
    CRONET@tcp_asterix_impl> select 1 from dual where 1 = null and null is not null;
    no rows selected
    CRONET@tcp_asterix_impl>So I believe the first condition does the thing you want.
    regards

  • Search/Query Form bc4j-uix-jsp

    Hi:
    Are there any samples of Search/Query jsps using
    bc4j -uix jsps?
    There are some on OTN using html.
    I want to set up a search page that users can select one or more(AND) from about 5 attributes
    of a view and then display approx 6-8 different attributes of that same view.
    Any input would be appreciated.
    Thanks.

    Once you create the Query-by-Form datawebbean, you can modify the templates in the templates\webapp directory by changing all usages of the FindForm bean to use your new DWB. You can also create a new webapp template by copying the existing file and creating a new directory. You can add you new template by modifying the templates\apptemplates.xml. The current entries are:
    <?xml version="1.0"?>
    <APPTEMPLATES>
    <TEMPLATE NAME="default" DIRECTORY="templates/webapp/" USETHEMESELECTION="YES">
    </TEMPLATE>
    <TEMPLATE NAME="Oracle" USEFORMSELECTION="NO" DIRECTORY="templates/cabowebapp/" THEMEDIR="/webapp/jsimages" THEMECSS="/webapp/cabo/images/cabo_styles.css" USETHEMESELECTION="NO" TOOLBARCLASS="oracle.jbo.html.databeans.JSNavigatorBar">
    </TEMPLATE>
    </APPTEMPLATES>

  • Search in "forms" and other important features in iOs Numbers

    Hi, this Numbers is very great!! But there are 3 important features to add in "forms".
    1. It's really important the possibility to search in a "form" and not only in spreadsheet. I don't know why they don't add this feature....
    2. The possibility to start a new paragraph (to indent a new line with "enter" button) also in "form" and not only in spreadsheet...
    3. Possibility to input the excactly number of record that I want to watch in form.
    Thanks...there's someone that knows how to do these 3 things?

    August,
    Since you're talking about Forms, you must be using the iOS version of Numbers. There's a discussion area specific to the iOS version here: https://discussions.apple.com/community/app_store/iwork_for_ios
    Jerry

  • Search in "form" and not only in spreadsheet...

    Hi, this Numbers is very great!! But there are 2 important features to add in "forms".
    1. Most important is the possibility to search in a "form" and not only in spreadsheet. I don't know why they don't add this feature....
    2. Possibility to input the excactly number of record that I want to watch in form.
    Thanks...there's someone that knows how to do these 2 things?

    August,
    Since you're talking about Forms, you must be using the iOS version of Numbers. There's a discussion area specific to the iOS version here: https://discussions.apple.com/community/app_store/iwork_for_ios
    Jerry

  • Regular Expression Search in Forms Builder

    Hi everyone, can anyone help me out?
    I'm working on a legacy forms migration project (3 to 10g) where item references often do not include the block name.
    eg.
    :stock_level := :default_level;
    instead of
    :stk.stock_level := :ctrl.default_level;
    There are also instances of set_item_property('stock_level',....)
    In complex multi-block forms this obviously makes the form difficult to understand.
    Is there a way in which I can search the triggers and program units of a form for items that don't have a block prefix? The Forms search and replace function has a Regular Expression feature, but I have no experience in this area.
    I assume I'm looking for something like this:- ":", followed by a character string that doesn't contain a "." or "="
    Thanks

    You might have a look at the commercial product formsAPIMaster, it has the ability to do such searches (and also automatic replacements, if needed)

Maybe you are looking for

  • IPad 1,  how to delete albums in photo?

    I have an ipad1 with ios5+  operating on it. I want to delete albums in photo. How do it do it?

  • IDVD - No Audio in Disc Image

    Hi, I've started experiencing this issue with version 6.0.3. When I save my iDVD project as a Disc Image and play it on my computer, there is no audio (volume) when the video plays. First time, I didn't bother to test the disc image and burnt it to a

  • Disable Enhanced Protected Mode with IEAK, IE 11

    Hello, Enhanced protection mode is breaking Java. We build IE 11 packages with the IEAK, and I can't seem to find the setting in the IEAK to disable enhanced mode. Anyone have a solution? Thanks

  • WRT54G V8 wired connection recently got very slow. HELP!

    Hello, I have a WRT54G V8.0 wireless router. I bought it about 3 months ago, and it was working just fine. But on the last coupe of days, the connection speed became really slow. The setup is as follow: 2 PCs connected directly by wire, and one conne

  • Debug/Packet Trace - flow options on the CSS11501 running 7.20 Build 3

    Hello all, I need to do some packet tracing on the CSS11501 running 7.2 and need to limit debugged packets to a particular IP. I know that you can set the IP by running: "flow trace-ip X.X.X.X" But what HEX option would I need for the command : "flow