How to change parameter to accept any case

Hi Gurus,
I created a report using SSRS (SQL Server Reporting Services) using report builder. I need help or advice in two problems am facing.
I have a parameter as LASTNAME, but when i type 'smith' i do not get any results and when i type in 'SMITH' i get results, how can i change such that the user can type any case and still get the results. I went to the dataset properties and set the CASE
SENSITIVITY to false, but still no change in the functionality.
Secondly i want to add a new parameter casenumber, what i want is the user can enter value EITHER in the LASTNAME or CASENUMBER, for example if i enter SMITH in the last name field and leave the case number field blank it should still render the records
and the same way if i leave the last name blank and enter a value in  the casenumber it should render records.
Please need advice.
Thanks

For the case sensitivity issue you could convert what ever the user inputs to upper case in your sql "UPPER(@name)".
For the different parameter you could create a parameter that asks the user what he wants to input, name or case number. Then depending on what they select modify your where clause in SQL based on that parameter value.
ie.  WHERE (@filterBy = 'Name' AND Name LIKE '%+@paramValue+%') OR (@filterBy = 'Case' AND Case LIKE '%+@paramValue+%')
If you would like them to be able to filter by either or both but not have to input both then you could concatenate '%' to both ends of each variable an use like statements.  You would have to change your report parameter to accept blank value.

Similar Messages

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Seems no one care about us .no one replied till no@!!!!@ strange

  • I have clicked on to a app and now my apple store app is Spanish andi don't know how to change it back can any one help me?

    I have clicked on to a app and now my apple store app is Spanish andi don't know how to change it back can any one help me?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you are located.
    8. Tap "Done".

  • How can change parameter field prompt template?

    Post Author: hnategh
    CA Forum: General
    Hello ,
    I make a report by crystal report 10 and i use of parameter fields .I call my report in visual studio 2005 and run it on a asp page.when run the report page ,I look a prompt for parameter field that it has a default template .How can i change the parameter fields prompt template on my report page? 
    Thank you. 

    To make the change permanent you need to use the same Folders submenu and select either Save ... or Save As.... I would recommend the latter and give the folder your own custom name as this then differentiates any changes from the seeded folders / other locations who might also be using this folder etc.
    Thereafter, either your users will have to select the folder or (better) you can use the Administer Folders option in SysAdmin to default the folder to a particular responsibility or responsibilities.
    Regards,
    Jon

  • GRC CUP - How to change SNC Name to lower case during user creation.

    Hi All,
    We are using GRC 5.3. CUP automatically creates user in R3 but SNC p:username'@'DOMAIN.COM is in upper case.
    1. During automated user creation.
    2. How change default DOMAIN.COM to lower case "domain.com"
    Currently we have to manually change is via SU01 after user has been created.
    Thank you
    Regards,
    Jacky

    Sorry please ignore this thread. I got the wrong details. Post cancelled

  • How to change Net Due Date in case of Credit Memo..

    Hi Experts,
    In our system currently when we create credit memo using tcode FB75 system makes the invoive due immediately.
    We wanted to make this net due date dependent on payment terms given by us. Please let me know how can I achieve this..
    Please let me know if there is any user exit there or the configration path to achieve this...
    Regards,
    Vidya

    This is a standard SAP functionality. Usually a credit memo is referenced to an invoice and if you don't have a reference to an invoice SAP would consider that credit memo as due immediatly.
    If you have an invoice to be referenced to this credit memo enter the invoice number in the invoice reference field in FB75 > payment tab and then enter the payment term. If you don't have an invoice reference enter V  in the invoice reference field and then the payment term, system will calculate net due date based on payment term.

  • How to change parameter ALLOW_BROWSER in web-dynpro ?

    hi,
    i have a request where i have to change the property ALLOW_BROWSER in a web-dynpro from NO to YES.
    when i get in portal content administration this property is NOT changeable. the value NO is 'undergreyed' as well
    as the property CachingLevel

    Hi
    have a look on this thread
    1. Problem with getting table element's table row
    2.How to select the entire row by selecting the checkbox in a table
    BR
    Satish

  • How to change parameter on Linux when i want to install NW7 for oracle

    Hi everybody
    I have get the guide of install NW7, that below list of documents are required:
    Master Guide
    Installation Guide
    OSD
    I have question of what is OSD? OS meaning is Operation System, I want to get what D naming with?
    and how to get OSD docment form service.sap.com or sdn@sap
    Could any one to ask the questions? thanks!

    > Otherwise, Could you kindly to provide how to get the information with configuation information in each operation system,
    >
    > I want to try to install the NetWeaver in SUSE10. But i cant find the config info with OS.
    The operating system dependent configuration are in the installation guides for the application and in the corresponding installation notes.
    e.g . notes
    171356 - SAP software on Linux: Essential information
    1275776 - Linux: Preparing SLES for SAP environments
    and more.
    Markus

  • Why did my strokes change back to uniform after I used livepaint?  Now I can't even figure out how to change them back.  Any suggestions?

    I created an image and tried to color it using livepaint.  Afterwards, my strokes changed back to uniform in appearance and I can't change them back.  Why?  Or any suggestions on what I might try?

    LIvepaint can only work with standard strokes.
    If you want to color something that uses brush strokes or variable width you need to first expand it (object > expand appearance)

  • I have a Macbook Pro and can't figure out how to change my password. Any help?

    This is  a password for like entering my compu

    Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities > Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A “Reset Password” window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled “Select the user account” if not already selected.
    Follow the prompts to reset the password.
    Select Apple menu > Restart from the menu bar.

  • How can I change parameter screen

    Hi,
    I did my report and uploaded it. When I want to run my report I submit request and check its concurent everything is ok but how can ı change parameter screen can anyone help me???
    thanks
    Edited by: esclapez on Jan 14, 2009 6:55 AM
    no one answeerr :(

    Hello Azap1,
    It sounds like your iPod Touch screen is broken and you would like to know your service options. This page will help you in that regard:
    Service Answer Center - iPod
    http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • HT2493 How to change preview image of a file and NOT the icon ?

    Hello dear Mac users
    How to change preview image of a file and NOT the icon ?
    I know how to change the icon of a file, but I wish to know how to change the preview of any file.
    For example: my file is "mysong.aif", I changed the icon to be "mylogo.png" using cmd+i, cmd+v on the icon. But the preview of the file still remain the same.
    I know it can be changed using iTunes, but I don't want to import all my files in iTune, and iTune cannot import all type of files.
    I hope someone will understand my needs...
    Thanks!

    Thanks BeerbarX
    You can't change the preview image for anything
    hoo
    QuickLook plugin
    what are the plugin ?
    In the case of a music file, it will be that generic black box with a note on it
    That is exactly what I'm asking about !
    MP3 which has a special tagging standard that can include artwork
    How can I "tag" my MP3 without going thru iTunes ? Is it possible to do it dirrectly in the Finder ? Is there other type of files that can include such tags ?
    Thank you for answering my question , wich I have to admit may seem useless, but I wish I could put something like a signature logo on each of the different file I produce (as AIF for music and MP4 for video clip) instead of that generic black box with a note on it, and by the meantime keeping a different icon for all of them in order to illustrate theire content.

  • How to change default vertical page co-ordinates from center, to top?

    Hi There,
    We're having trouble understanding why InDesign centers the page instead of aligning the view to the top when switching pages (and copying and pasting) - and how to change this behavior.
    To understand what I'm talking about, do the following:
    Create a new document (any size)
    Use the page tool to to change the height
    Create a new page and use the page tool to make the height a lot taller
    Now switch between the pages
    Notice how InDesign always shows you the center of the page?
    This is frustrating in many situations like copying and pasting - try the following:
    Create a box on the first page and align it to 20mm from the top and 20mm from the left
    Copy the box
    Switch to the second page
    Paste using CMD + OPT + SHFT + P
    The object should be pasted in the same spot (20mm from the top and 20mm from the left) but it isn't - on the vertical, it's pasted relative to the center of the page for some reason.
    It surprising how annoying this becomes when you're constantly re-positioning pasted items or when switching between web layouts of different heights - it becomes a two step process instead of one.
    Does anyone know how to change this behavior?
    Any pointers in the right direction would be much appreciated - we're using CS5.5
    Cheers
    Ben

    Thanks for the replies - sorry I didn't reply earlier but they went to junk.
    Why in the same spot if pages have different size?
    In general, sure - but what about letting the user define a point of reference? For me, it's always the top left corner like the rulers - I completely understand if that doesn't work for others but it would save me so much wasted time constantly repositioning objects.
    Also, in a lot of documents with different page-sizes, setting the reference to top left (or whatever you set your rulers to) actually works a lot of the time - granted, probably only for those that use the numbers to position objects.
    Anyway, what I'd like to do is find out how to set a document-wide reference point for co-ordinates - obviously you can't do this right?
    Another thing that wastes time (in a similar vein) is the ability to set defaults for translation, rotation and flipping etc.
    Almost without fail, I find I want top left when moving (because I set rulers to top left) but center for rotation and flipping. Being able to set a default per translation type would save a lot of pointing and clicking.
    Is this possible?

  • I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?

    I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?

    To change the iCloud ID ("email address") you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

Maybe you are looking for

  • Why Does My IPAD keep resetting?

    It does it at random intervals, worse was in front of an audience of 200! Then it wont happen for a while, then it happens again and again for a few hours. Then its OK again for a week or two, iv'e taken it into my local apple store and there is noth

  • Notes are not being Saved

    Recently upgraded to an iPhone 3G S from the first generation iPhone. Synced my phone and everything is fine, but when I use the Notes application the notes are not being saved. Anyone know of a way to fix this?

  • OWB 9.2.0.2.8 Server Side Install Run Time Assistant Components

    Hi all, I have Oracle 9.2. on a Solaris/ Sun server. I have installed OWB 9.2.0.2.8 on the client desktop running WinXP. After installing the Design Repository I was installing the Run Time assistant when I had the INS0034 error, requiring that serve

  • Possible to display null item value as 'All'  in blank HTML region?

    Apex 4.1 Theme 21 Hi There, I have select list which has null and other values. I have created a blank HTML region with the following text Report for the year &P2_YEAR. and for geography &P2_GEOG. Now P2_YEAR works fine because, it is always populate

  • Photoshop CS6 keyboard shortcut not working -- what is this red bar tool?

    I want Ctrl+Shift+S to do SAVE AS.  I set it as such in the keyboard shortcuts, but when I do that key combo, all I get is this: What is this thing?  The mouse pointer changes to this.  I can move it around and draw a box (in the background of PS, ou