How to put the wild card search in the url

I want to call a report use the url which inculd a page parameter 'LastName', to list all the person whoes LastName is begin with the certain character, like 'B'. So in the report sql query, i used
Select Last_name, email, institution from members where Last_name like :lastname;
and then i want to list all the 26 english character, let ueser click on it to retrieved the report.
But when i test the URL like PORTAL_schemal.member_report.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values=6&p_arg_names=_portal_max_rows&p_arg_values=6&p_arg_names=lastname&p_arg_values=B%, it always returns "no row returned".
anyone can help?
thanks a lot!!

Try this :-
PORTAL_schemal.member_report.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values=6&p_arg_names=_portal_max_rows&p_arg_values=6&p_arg_names=lastname&p_arg_values=B%25
Since % is a special characeter, you need to specify it as %<2-digit-ASCIIcode-in-hexadecimal>
The ASCII code for % in hexa = 25
Thus, you need to specify %25
If you want to indicate the pattern %B% in the URL, it would be :-
%25B%25

Similar Messages

  • Wild card search in existsNode function

    Hi,
    How can i do a wild card search for the below data?
    I have a table as follows:
    ID VARCHAR2(32 BYTE),
    MESSAGE_TYPE VARCHAR2(64 BYTE),
    MESSAGE_CONTENT XMLTYPE,
    REJECTED_REASON VARCHAR2(256 BYTE)
    And Sample XML as:
    <?xml version="1.0" encoding="US-ASCII"?>
    <MessageEnvelope>
    <Header>
    <Partner>Renault</Partner>
    <MessageType>Release</MessageType>
    <PartnerMessageType>S74</PartnerMessageType>
    <MessageTime>2001-12-17T09:30:47.0Z</MessageTime>
    <LinkToRawMessage>String</LinkToRawMessage>
    </Header>
    <Body>
    <Release>
    <Addresses>
    <DealerDestAddr>ABCD</DealerDestAddr>
    <DestAddr>ABCD</DestAddr>
    <NextDestAddr/>
    <StartAddr/>
    </Addresses>
    <Assignment/>
    <ClientStatus/>
    <Dates/>
    <HoldInfo>
    <HoldCode>HoldTest</HoldCode>
    </HoldInfo>
    <Message/>
    <Partner>
    <OrderGiverCode>CMR00BCV</OrderGiverCode>
    </Partner>
    <ToDo/>
    <Transport/>
    <Vehicle>
    <VIN>W0LGDM9A_Ran11115</VIN>
    </Vehicle>
    </Release>
    </Body>
    </MessageEnvelope>
    I am executing the foll query:
    select * from t_xml x where x.message_type='DBLVEH' and x.MESSAGE_CONTENT.existsNode('//*[*="Release"]')=1;
    This gives me correct result.
    But i need to search *Rel and it should give me the desired result. How can i accomplish that?
    I tried the foll and it did not work:
    select * from t_xml x where x.message_type='DBLVEH' and x.MESSAGE_CONTENT.existsNode('//*[contains(*,"Re")]')=1;
    Regards,
    Sprightee

    sprightee wrote:
    Hi,
    How can i do a wild card search for the below data?I am not sure how this can be achieved using existsNode function but does following work for you?
    SELECT *
      FROM t_xml
      WHERE
        XMLExists(
          'declare namespace ora = "http://xmlns.oracle.com/xdb"; (: :)
           $d//*
             [ora:matches(text(), "Re*")]'
          PASSING MESSAGE_CONTENT AS "d");

  • Wild card search in a FM

    Hi experts,
    I have a FM in which there is one table customer_name
    It has fields as SIGN (type SIGN), OPTION (type OPTION), LOW (type name1_gp), HIGH (type name1_gp).
    Now the user can give single value, or a range of values for the customer name.
    I am familiar with the wild card search for a select option, but not sure how to apply that funda here.
    For ex: If a customer enters the customer name as MG*, then all the names starting with MG should appear
    in the output.
    Similarly, if the user enters AP* in LOW and MG* in high, the corresponding output should be displayed.
    Can you please help me out?
    Thanks,
    Ajay.

    Hi,
    Do like this
    t_table-sign = 'I'.
    t_table-option = 'CP'.
    t_table-low = 'AB*'.
    t_table-high = 'MG*'.
    append t_table.
    Use this in your select query.

  • Case Sensitive problem in Select Option for wild card search

    Hi,
         Can anyone please let me know how to make the wild card search in any select-option non case-sensitive. What I mean by this is for eg. we want to find out all the POs with short text containing the word  'process', what we do we populate a range with OPTION = 'CP' and LOW = 'process' and select EKPO with short text in this range. This select is however case-sensitive and POs with short text containing 'Process' is not retrieved. But my requirement is that this should be non case-sensitive and both the POs should be in the result set.

    Hi,
    Hope this helps you
    CS:
    You can select characters in operand2 for a direct comparison by adding the escape symbol "#" before the required characters. For these characters, upper/lower case is taken into account, wildcard characters and the escape symbol itself do not receive special treatment, and trailing blanks in operands of type c are not cut off.
    Covers Pattern: True, if the content of operand1 fits the pattern in operand2. Wildcard characters can be used for forming the operand pattern, where "" represents any character string, and "+" represents any character. Upper/lower case is not taken into account. If the comparison is true, sy-fdpos contains the offset of operand2 in operand1, whereby leading wildcard characters "" in operand2 are ignored if operand2 also contains other characters. If the comparison is false, sy-fdpos contains the length of operand1.
    Regards
    Krishna

  • Wild card search option

    Is the Wild card search option availble in flex.

    "lalithninan" <[email protected]> wrote in
    message
    news:g6ubfe$sdd$[email protected]..
    > Is the Wild card search option availble in flex.
    Look at regular expressions

  • TS1702 I have downloaded and attempted to purchas the app "ForeFlight HD" for the iPad 2, however, when I put my credit card information into the app for purchase, I am told to contact iTunes support to complete the transaction. Can you tell me how to fix

    I have downloaded and attempted to purchas the app "ForeFlight HD" for the iPad 2, however, when I put my credit card information into the app for purchase, I am told to contact iTunes support to complete the transaction. Can you tell me how to fix this?

    Contact iTunes Support:
    http://www.apple.com/support/itunes/contact/

  • How to pass wild card '%'  value from the parameter to the query

    Hello everyone,
    I have following 2 problems
    1) I was trying to do some thing like below
    select * from emp
    where ename like 'J%'
    for this i have used the following code
    select * from emp
    where ename like :P_ENAME
    and before running the query in the parameter box i entered J%. But my report returns an error which says INVALID PARAMETERS REQUESTED.
    2) I have a req of passing both comma separated and wild card for the same parameter. If we take the same example as above,
    user should be able to enter
    a) JASON, SMITH, JOHN OR b) J%
    I have used comma separated value option of the parameter for the csv values and its working fine, but i need to add the wild card feature also to the same parameter.
    Can anyone please help me with these things?????
    Thanks in advance!!
    Raghu

    Hi Raghu,
    I guess you are in older version, You have to get into latest version to use %, it should work well
    you should use where ( ename like :P_ENAME ) or ( ename in (:P_ENAME)) for both the condition to satisfy.

  • Regarding wild card search in oralce

    I am facing one problem,
    I am using wild card search based on LIKE condition, that search is got used for searching purpose through a user interface.
    the query is like below
    SELECT /*+driving_site(a)*/ A.ID,A.CO_ID,B.NAME,A.CITY,A.state FROM mv1 a,mv2 b WHERE a.id=b.id and nvl(b.name,'x') like '<variable>%' and nvl(a.city,'x') like'<variable>%'  and a.state like'%' ;
    where user can input any one or may two or three parameters for search.
    The problem is in response time because mv1 and mv2(materialized view) contains crores of records(around 3.5 crore )
    I am able to search it with city and state but when I am trying by name I am not not getting response for that query.
    Each where clause is indexed propely even functional index i put there and analyzed also , by explain plan i am able to reduce the cost but im not able to get proper response. I welcome all your suggestions as this is reallly a crucial for me to get that search faster....
    Thanks in Advance
    Edited by: user13104802 on Jul 31, 2010 6:31 AM
    Edited by: user13104802 on Jul 31, 2010 6:31 AM
    Edited by: user13104802 on Jul 31, 2010 6:33 AM

    I welcome all your suggestions as this is reallly a crucial for me to get that search faster....You might want to explore Oracle Text (Index).
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:415419367128
    http://www.oracle-base.com/articles/9i/FullTextIndexingUsingOracleText9i.php
    What is your database version? (the result of: select * from v$version; )
    That'll determine what other pointers we can give you.

  • Wild card search using %

    I have a question on wild card searches. I am currently doing a like behind the scenes to look for a string inside a string...
    However, if the user wants to put in a wild card like 'AP%Report%'... I would like to return all the ones that begin with AP and have Report in them- is that possible using APEX? I currently do not get any records as the % is considered literally. As our users are used to Oracle, we will have users who will key in a % during the search and we need this to work!
    Can anyone please help me with this?
    Thanks!
    Ramya

    Thanks for your quick response, Tony!
    Its a standard report not interactive... version is 'Application Express 4.0.2.00.07'
    Below is the complete query,
    select * from (
    select report_id
    , (SELECT report_type_name FROM xxnf.xxnf_apex_rr_report_types t WHERE t.report_type_id = xxnfarr.report_type_id) report_type
    , Category
    , report_name
    , report_desc
    , image Sample
    , last_used
    , link
    , sample_url
    , decode(sample_url, NULL, 'http://common.newfield.com/images/misc/blank.gif','http://common.newfield.com/images/misc/Sample.gif') sample_icon
    , (select resp_group_name FROM xxnf.xxnf_apex_rr_resp_groups t WHERE t.resp_group_id = xxnfarr.resp_group_id) contact
    from
    xxnf.XXNF_APEX_RR_REPORTS xxnfarr)
    where (
    instr(upper("REPORT_TYPE"),upper(nvl(:P11_REPORT_SEARCH,"REPORT_TYPE"))) > 0 or
    instr(upper("REPORT_NAME"),upper(nvl(:P11_REPORT_SEARCH,"REPORT_NAME"))) > 0 or
    instr(upper("REPORT_DESC"),upper(nvl(:P11_REPORT_SEARCH,"REPORT_DESC"))) > 0
    or
    instr(upper("CATEGORY"),upper(nvl(:P11_REPORT_SEARCH,"CATEGORY"))) > 0
    Hope I answered all your questions.. On why I am doing this instead of a LIKE.. I could not get it working with a LIKE and had to pull this code from one of the sample applications... Hope that makes sense!
    Ramya

  • Wild card search enabling in ABAP QUERIES

    Hi All
    How is it possible to enable <b>wild card search</b> for the <b>selection-fields</b> of <b>ABAP Queries</b>, any help in this regard will be credited
    Thanks
    Sudhir.

    Are you asking about wild card search in SELECT statements?
    The following is the help on wild card search in SELECT statements
    ... WHERE CITY LIKE '%town%'.
    This condition is true if the column CITY contains a string containing the pattern ‘town’.
    ... WHERE NAME NOT LIKE '_n%'.
    This condition is true if the column NAME contains a value whose second character is not ‘n’.
    ... WHERE FUNCNAME LIKE 'EDIT#_%' ESCAPE '#'.
    This condition is true if the contents of the column FUNCNAME begin with EDIT_.

  • Wild card searches

    I have created a form that searches a table based on radials drop downs and text boxes, works ok. However the text box is used where there are too many options to be used by other methods.
    Is there any way to automatically place a hidden % wild card at the front and end of the text box? I'm trying to permit users to be able to enter a part of a name in order to search for records.
    Kinda like
    record is The Ramones
    User can type in Ramon and it will still return all records that has Ramon within its title

    Scott,
    I have a related question on wild card searches. I am currently doing a like behind the scenes as you have suggested.
    However, if the user wants to put in a wild card like 'Sc%t%'... I would like to return Scott - is that possible using APEX? I currently do not get any records as the % is considered literally.
    Can anyone please help me with this?
    Thanks!
    Ramya

  • How do I get the 1121 card to read the switch and make it a 1 or 0 to count pulses?

    Hello,
    I am developing a test stand to test tires. We have LabView 7.1 and the SCXI chassis with an 1121 transducer card. I am trying to count the rate and total number of revolutions made by the tire. The signal is acquired from a 12V-proximity switch that is actuated once per RPM. The tire turns at 1,000 RPM or a little more.
    The signal will have to go through a 100-foot cable to get to the LabView chassis, will this be a problem?
    How do I get the 1121 card to read the switch and make it a 1 or 0 to count pulses?
    Will LabView be able to read this many pulses per second?
    How do I get MPH and a RPM reading out of it?
    Thank you,
    James Happe

    Hi James,
    Since you are cabling your DAQ board to an SCXI chassis with an 1121, you will not be able to use your counters without additional hardware.
    The 1121 is an analog input signal conditioning module. It performs filtering and attenuation to help measure analog signals. What it does not have is access to your board's counter pins.
    In order to use your counter pins you will need to get the necessary hardware. You have two options:
    1) Buy and SCB-68. This is a breakout box that will cable directly to your DAQ board replacing your SCXI chassis. You can connect your signals directly to your counter with this. However, I would advise against this because your application has a 12 volt signal. This will overload the 5v maximum voltage for your counter pins.
    2) Buy a 1180 feedthrough panel. This will allow you to use all of your DAQ board's functions with the SCXI chassis. Withouth the 1180 feedthrough panel, the SCXI-1121 is the only thing connected to your DAQ board. Since the 1121 only performs conditioning on the analog inputs, that is all you can access. The other pins cannot be used (no access). With the 1180 feedthrough panel, you can put a connector block on and access all of your other pins (including the counter pins). Again, I would advise against this since your 12 volt signal will overload your counter pins.
    My suggestion would be to perform an analog input task. Set up your 1121 in MAX and use a LabVIEW shipping example. In the shipping example select an analog input channel from your SCXI-1121 module. Set the appropriate voltage range and take some measurements. Once your signal is connected and you can read it using an analog input example you are half way there.
    Take the analog input shipping example and modify it to perform frequency analysis on the voltage readings. You can simply wire the data from the DAQmxRead VI into one of the frequency analysis VI's (noted in my first post). The output if that VI will give you the frequency of your signal.
    -Sal

  • Wild card search and multiselection in dashboard prompt????

    Hi all:
    Actually, I want to make dashboard prompt that filters the customer code, user can select more than one code at a time. But there is one more requiremnet that is, If user wants to find customer code in report than it just write the code or part of code ("like wild card search"). I want these two works in one dashboard prompt. If there any possiblity to do like this. Please help me to create this type of dashboard prompt. Thanks
    Ali

    Hi Ajith,
    István is correct, wild card '*' is readily available for any Item name, BP name or other searchable fields.
    Thanks,
    Gordon

  • EIC: Employee search - wild card search with personnel number

    Hi,
    The employee search functionality in EIC employee-search screen allows to search an employee through wild card search. We had set up this and everything was working fine, but suddenly the functionality to search an employee by giving part of personnel number as wild card search is not working, surprisingly other search criteria are listing employee list. For example, if i need to search an employee with personnel no 30000111, then i can give 30* in search criteria and employees starting with 30XXXXXX would be listed. This is the functionality not working at the moment.
    Can anybody please help - what could be the probable cause or where should i look to fix this? Any documentation in this regard would really be helpful.
    Thanks in advance.
    Sujit

    hi,
    Probably u can set a debug point in the bsp application and ask your abaper to debug the same.
    check if any patch application has been done after you saw the functionality working fine.
    Regards
    Sameer

  • How can we delete wild card entry from table

    how can we delete wild card entry from table
    i want adjust the seeting for order type print out form
    like in 0id2 i have specified ordertupe nad print form in pm module
    but in oid3 fro palnner group if i make star it is not taking specific defiend field

    Hi....
       Follow these steps....
    1. Goto se16 and enter ur table name.. press F7 you can get selection screen now press F8...
    2. Click one perticuler record that u want to delete.. and press Change icon in App'toll bar...
    3. enter ?H at command field and again press enter...
    4. switch into classical debugger...
    5. write CODE at field ... it will gives EDIT as value...
    6. Change that EDIT into SHOW and press pencel icon just beside the SHOW...
    7. Now press F8...
    8. you can get delete option over there...
    Thanks,
    Naveen.I

Maybe you are looking for

  • MDM Data Manager - Freezes at loading Local Searches

    Hi all, While the loading the MDM data manager (DM) the application freezes for ~5 min while stating "Loading Local Searches", before the DM is finíshed loading. Does anyone know how to solve this problem, or at least where the local searches are sto

  • Problem with boolean type in Informix via ODBC

    Hello, I'm connecting to an Informix database from an Oracle database via the ODBC Gateway. The connection works fine. However, when I select a boolean type column from a table in the Informix database, nothing is returned and I get the following err

  • Sample file data for bapi_salesorder_createfromdat2

    Hi all, I have written a zprogam which calls bapi_salesorder_createfromdat2  to create sales order. While running it shows the error as VP   Enter Ship-to-party or Sold-to-party can anyone give me file format with real time data  for this bapi Senthi

  • Unable to update from 9.0.28.0 to 10.1.85.3

    Hi everybody, In reference of this topic, I would like to have more information on what to do with my antivirus, which is AVG Anti-Virus Free 9.0.864 . I have the same problem as GottaLuvPurple's one: in spite of installing the new version, it doesn'

  • IOS - Performance issues when touching screen

    Hello, I am having perfomance issues when the use keep moving one finger on the screen. I am testing with : - flash builder 4.7 beta 2 - air 3.5 (beta too I guess) - iPhone 3GS running on iOS 6.0.1 (also tested on an iPad3, and even though it's less