Submit multiple keywords

Hi!
I have a search page with multipley key word items. On the page is another report region, the results in the report should reflect the restrictions from the key word items.
The key word items should be submitted all by once. How can I do that?
I inserted a button which is submitting the page and then redirecting back to this page. But the report results are not affected when I click this button.
Any help is appreciated!
BR
& thank you,
Lena

Lena,
Does your code return the correct results when executed in SQL Workshop or by some other means of executing the code?
SELECT DISTINCT cat_name,
                cat_id,
                cat_sort_order,
                cur_code,
                lgle_code,
                count( * ),
                sum( pov ),
                sum( pov_sap ),
                sum( budget ),
                sum( sab ),
                sum( tcpvo ),
                sum( mcp ),
                sum( mcp_basis )
FROM   lpc_v_rpt_coq
WHERE      instr( :p4201_year, to_char( sap_document_date, 'YYYY' ) ) > 0
       AND status NOT IN ('Cancelled or Suspended', 'Deleted')
       AND instr( :p4201_timeframe1, to_char( sap_document_date, 'MM' ) ) > 0
       AND instr( nvl( :p4201_category, cat_no ), cat_no ) > 0
       AND instr(
                  nvl( :p4201_purchaserst, purchaser_strat ),
                  purchaser_strat
                 ) > 0
       AND instr( nvl( :p4201_lgle, lgle_code ), lgle_code ) > 0
GROUP BY cat_name,
         cat_id,
         cat_sort_order,
         cur_code,
         lgle_code
ORDER BY cat_sort_order ASCJeff

Similar Messages

  • How to use Multiple Keywords in a Search Form?

    I'm currently using a bind variable on the view object to generate a search form where the user enters one keyword that is applied to the WHERE cause of the SQL query.
    The problem is I'm trying to implement a Google-type search, where the user can enter multiple keywords in a single text input area. I then want to parse out those keywords and search the database on each keyword (similar to a Google search.) Can someone please help me point me in the right direction as to where / how to code in the appropriate hooks to accomplish this?
    Example:
    (user input) Enter Search Keywords: keyword1 keyword2 keyword3.. keywordn
    database query:
    Select item from table where (desc like '%keyword1%') or .. (desc like '%keywordn%') or
    (category like '%keyword1%') or .. (category like '%keywordn%')

    Can't you parse what was entered and create a number of view criteria rows, then apply them? At that point, they would be 'OR'd together'.

  • Search for photos with multiple keywords

    I'm trying to figure out if it's possible to search for photos that have multiple keywords.   When selecting multiple keywords in a Bridge search the default behavior is to find photos that have any of the keywords rather than all of the keyword.  In other words I want to do an AND keyboard rather than an OR search.

    You should be able to do so in the find menu of Bridge (Edit/Find or cmd+F)
    With the plus sign you can add an extra (and) keyword to it.
    A shortcut may be to first find one keyword and then use the filter panel
    keyword section and select the other wished keywords by putting a checkmark
    in front, only the selected files will show in the content window.
    In other words I want to do an AND keyboard rather than an OR search.

  • Problem deleting multiple keywords in lightroom 5

    I am importing about 20,000 pictures from Flickr. they are all creative commons, and the end result will be the use of approximately 4000 of these in an online sign language dictionary.
    I use Bulkr to import them and this process imports the tags as well as other information such as the photographers name and url.  Many of these photos arrive with hundreds of tags, so that the total number of tags might be 20000 or more.  I need to assign my own tags and delete all the tags that the photo arrived with.  I use the lightroom batch delete to do this (the little minus sign at the top of the keyword list).  i select a keyword, hold down the shift key and scroll down.  the problem is that i cannot just scroll down to the bottom of the list.  There appear to be unpredictable keywords that cause the shift-select process not to work.  if i scroll back up and then carefully scroll part of the way back down, then there will be a point at which shift-select stops working and above that it works. 
    The end result of this is that it takes numerous shift-select-scroll down-select to delete everything so that what should take maybe 2 minutes takes 20 minutes or more. 
    The problem may be related to foreign language keywords especially chinese characters, but even what looks like a perfectly ordinary keyword can stop it.  Two recent examples: travellers cheque  and Київ. In all cases, the words can be deleted when i click directly on them.  you just cant shift-select THROUGH them.
    A separate annoyance that i will just grumble about is that i was forced to put these pictures in a separate catalog because there is always the risk that i could manage to delete my own keywords while batch-deleting everyone elses, and there is no simple way that i know of to undo this. with the separate catalog at least i wont delete all the keywords for my own pictures.

    With respect to problems deleting multiple keywords: On Windows, since at least version 3, LR has had basic bugs when you have more than about 1600 keywords showing.  (Hard to believe it isn't fixed by now.)   A simple workaround for you situation is to filter the keywords one letter at a time and then select the subset of keywords that are showing -- e.g. filter all keywords with the letter "t", then all keywords with the letter "b", etc.
    With respect to not getting the keywords into your catalog in the first place: You can define a Metadata Preset that will clear the keywords on import:

  • Submit Multiple Job Definitions/Job Chains with same Time window/Submit frame in mass

    Hi,
    We have a requirement to submit multiple Job Definition/Job Chains which are part of common Time Window/Submit frame/Queue....
    Ex. We have over 50+ different jobs/job chains which will runs Monday to Friday for every 2 hours on same Queue "XXX_Queue".  Instead of submitting each job/job chain manually, we would like to know if we could use any script that can achieve our requirement? since we have couple of other jobs which fall under same scenarios...
    We are on M33.104 version. Please let me know if any one has any scripts or alternate way of submitting multiple jobs/job chains in mass.
    Thanks in advance!
    Nidhi.

    Hi Nidhish,
    Here is some code to set some stuff on a job:
    //Get the partition, for global this is not necessary as global is default
    Partition part = jcsSession.getPartitionByName("GLOBAL");
    //Get the job definition
    JobDefinition jobdef=jcsSession.getJobDefinitionByName(part, "System_Info");
    //Get the submit frame
    SubmitFrame sf = jcsSession.getSubmitFrameByName(part, "SF_Every_Year");
    //Get the time window
    TimeWindow tw = jcsSession.getTimeWindowByName(part, "System_Week_WorkingHours");
    //Set the start time
    DateTimeZone dtz = new DateTimeZone(2015, 10, 18, 15, 0, 0, 0);
    //Get the Queue
    Queue SystemQ=jcsSession.getQueueByName(part, "System");
    //Create the Job
    Job infoJob=jobdef.prepare();
    //Attach queue to job
    infoJob.setQueue(SystemQ);
    //Attach submit frame, time window, start time
    infoJob.setSubmitFrame(sf);
    infoJob.setTimeWindow(tw);
    infoJob.setRequestedStartTime(dtz);
    //Print out the jobid of the job
    jcsOut.println(infoJob.getJobId());
    //Submit the job
    jcsSession.persist();
    Regards,
    HP

  • Selecting Multiple Keywords for an "AND" Images Selection

    When selecting images in iPhoto, one feature that I liked was the ability to fine-tune my image selection by choosing multiple Keywords. For example, I might have 50 images of Mary, either by herself or with other people, and one of the Keywords assigned to those 50 images is "Mary." I might also have 25 images of Joe, also either by himself or with other people, with one of the Keywords assigned of "Joe."
    Out of all my images, there might be 5 images that include both Mary and Joe together. In iPhoto, I could rapidly find those 5 images of Mary and Joe together by clicking and selecting the separate Keywords "Mary" and "Joe" from the list of all my iPhoto Keywords.
    Unless I'm missing something, the only way I have found to do this in Lightroom 1.0 is by typing both Mary and Joe in the FIND dialog box to find JUST the images of Mary and Joe together.
    It is my understanding that LR currently has an "OR" find command when I "COMMAND-click" (Mac) on the Mary and Joe keywords, LR displays ALL the images of Mary and Joe. I would like to see a feature in future versions of LR where I could "OPTION-click" on the Keywords that I had set up in LR that would then initiate an "AND" Find command for the Keywords selected so that LR displays images where Mary AND Joe appear together in the images.

    I did go to the LR Extras FAQ. However, I didn't find the specific references that you mention. I did notice a couple of topics that cover "intersections," but I don't think that addresses my specific request.
    For example, If I'm searching through ALL of my images and I want to DISPLAY only the images of that I've taken of rivers in California, I would like to be able to do it in LR in ONE keystroke(OPTION) and TWO mouse clicks (in iPhoto, you can do it in two mouse clicks).
    Currently, in LR 1.0, if I use the FIND panel, I would have to type in several keystrokes. If I don't have any COLLECTIONS for rivers or California, but do have KEYWORDS of "rivers" and "California," is there anyway I can select from the Keywords to have JUST the rivers in California displayed? To just have them highlighted only would force me to scroll through hundreds of pictures taken in California, when I might only have twenty photos of California rivers.
    I appreciate your offer of help and please point me in the right direction if I am missing something. I do plan to re-visit the site again as I can see that it contains a lot of good insightful info about LR. Thanks.

  • Multiple Keyword Sets (For Multiple Databases)

    I work with several different Lightroom databases and it would be nice to be able to have separate sets of keywords that go with each database.
    In my specific case, I use one database for my personal photographic endeavors and another for an image library for our church. The keywords tags used for my Nature photography images and the tags used for the event photography shots for church are very different. Hence, there are lots of keywords in both libraries that have zero images attached to them.
    It would be very useful in you could allow multiple keyword sets to track with multiple databases.
    Dave Mayfield

    There issues'Purge unused Keywords' option under Menu/Metadata.
    Don't ya know.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Deleting Multiple Keywords

    OK, once again. I am asking the same question many others have asked. I followed the directions from my search results about deleting multiple keywords at one time. I accidently placed a keyword on 1,000 images.
    I have tried selecting them all, going to the bottom of the window and typing in the keyword, hit shift and enter, and that does NOT work.
    Anyone, ANYONE found a solution yet? I mean, come on. it is a simple mistake, and something that should be written into the program.
    Sheesh.

    Below the window that says "Add Keyword" you have the Keyword Button sets. If that keyword you are trying to remove is not in one of them, go to the last option, Edit Buttons, and add that keyword to one of the sets.
    Now choose the Keyword Button Set with that keyword. Select all the images with that keyword and go to Metadata, Remove Keyword, and click on the keyword.
    Make sure also that you don't have the Primary Only button on, or will affect only the primary image, rather that the whole selection.

  • Question about filtering by multiple keywords

    I must be missing something, because setting up a filter using multiple keywords doesn't seem to be working for me. I'm clicking "Text" in the Library Filter, then selecting "Keywords" and "Contains All". When I type in multiple keywords, separated by a space, the list still contains photos that do not contain ALL of the keywords I entered. The resulting list seems to be displaying photos as if I selected "Contains Any" instead of "Contains All". Am I missing something obvious here?
    - Dave

    Could you provide a specific keyword example? Do you perhaps have two keywords such as 'Horse Carriage' and 'Horse'?
    Using the text filter "Keywords Contain All Horse" would also find images with the keyword 'Horse Carriage'.

  • Ctl-Clicking Keywords to add multiple keywords to images

    Ok. Maybe I'm just overlooking something here, but:
    I would like to be able to select multiple keywords and drag them onto an image to apply them all at once.
    Problem is, when I select the first keyword, it automatically sorts my Library to the images containing it (thus losing view of the image I want to tag.)
    In Elements it would only sort when selecting the check box next to the keyword. (Another reason I want check boxes!!!!!!!!!!) Elements would allow you to select multiple keyword tags themselves (without sorting images as you do so) and you could drag all the keywords to an image (or selected images) to apply them at once. How do you do that in LR?
    In a similar vein (sp??) I would like to add keywords to the keyword painter by dragging them from my keyword list and dropping them onto the painter entry field. That way I know exactly which keyword is going in, and am not mis-spelling or mis-naming a keyword, or typing one that doesn't exist yet, or is coming from the incorrect hierarchy... and I don't have to type anything in.
    If I'm having a brain fart and missing something obvious here let me know.

    >Ok. Maybe I'm just overlooking something here, but:
    Perhaps you're overlooking use of right-click context menus...
    >I would like to be able to select multiple keywords and drag them onto an image to apply them all at once
    1. Select the keywords you want to add in the keyword panel.
    2. Right-click one and choose "Use these as Keyword shortcut".
    3. Display the image(s) you want to add them to in the grid and select all of them.
    4. Right-click the selection, and choose "Add keywords..."
    It's not dragging, but it works.
    >In a similar vein (sp??) I would like to add keywords to the keyword painter by dragging them from my keyword list and dropping them onto the painter entry field. That way I know exactly which keyword is going in, and am not mis-spelling or mis-naming a keyword, or typing one that doesn't exist yet, or is coming from the incorrect hierarchy... and I don't have to type anything in.
    Same idea...
    1. Select the keywords you want to use in the keyword panel.
    2. Right-click and choose "Use these as Keyword shortcut".
    3. Click the painter icon "spray-can" and the keywords are displayed and subsequently used by the painter.
    (Translate keystrokes if you are on a Mac.)
    There are also keyboard shortcuts for all of this stuff which are actually faster than the right-click menus.
    >If I'm having a brain fart and missing something obvious here let me know.
    With due respect, based on your many posts about keywording deficiencies perhaps you are too locked in to the Elements paradigm. Try thinking outside of that box with LR. It has its shortcomings, obviously, but I've found I can get an awful lot done with it by forgetting about the way other applications do things.

  • Quick searching by multiple keywords

    Hi,
    Just a quick question. I don't seem to be able to search for multiple keywords through the quicksearch input (on the top right of the browser window). If I put in one keyword it works like a charm, but if I enter two (with either spaces or commas between) no results will show up.
    If I use the search HUD I can select multiple keywords or even add multiple text filters and type the keywords into them and it works.
    Is it only possible to search for one keyword through a quicksearch, or is there something I'm missing?
    Thanks!

    I haven't seen this anywhere else, and I just
    discovered it yesterday: If you type in several
    keywords separated by commas, it will search all the
    images in the folder/album/project that have all the
    specified keywords. No need to bring up the search
    HUD and click on individual keywords. It's been a big
    time saver for me when trying to narrow down a search.
    That's a nice little trick! Thanks for sharing.

  • Searching images having multiple keywords

    When searching for images having multiple keywords, how do i search for one keyword and exclude others. For example an image has keywords "adults, pub" "how do I ask for "adults but not adults in a pub?

    Use a smart collection:
    See how you go!
    Tony Jay

  • Multiple Keyword Searching

    I am having trouble doing multiple keyword searches in aperture. Say for instance I tagged a photo with the word "Bob" and then with the word "Park". If I search for just Bob or just Park, I get all photos tagged with one or the other keyword. But if type into the keyword search bar: Bob, Park. No photos come up. I have tried several different ways of searching keywords. Anyone having the same problem or know how to fix it?

    The same is written in the [Aperture3 User Manual|http://documentation.apple.com/en/aperture/usermanual/index.html#chapter =14%26section=7%26tasks=true]; it doesn't work in Ap3 either. (The comma seems to be taken a literal character, not as a separator.)
    Ap3 lets one add additional filter rules, so that one could have two Text rules. (I never used Ap2.)
    Ap3 limits the keyword list to those keywords present in the currently selected container(s). So to at least check what you are doing -- if Ap2 does the same -- select or filter to a number of images with just a handful of keywords total, and see what you find out.
    Nice to see the sun for once.

  • Selecting multiple keywords

    Does anyone know if there is a way to select multiple keywords from the "keyword tags" panel and have it do an AND search instead of an OR. i have family names setup as some of my keywords and if i select 2 names, i want it to show only photos that have have both people in them. not photos that have one OR the other.

    If that is all that is wanted, in Keyword Tags on left of Library Multi-Select kewords do Select All on images and Do '+' for new collection to create collection with sellected images. Same end result.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Does endeca support multiple keyword search

    Am new to endeca.
    Does endeca support multiple keyword search in atg crs.
    an eg can we search for "shirt,shoes" and get results for both

    How specifically to implement this depends on how you are querying Endeca.  With a simple URL parameter query using the UrlENEQuery object you would set the parameter of Ntx=mode+matchany, and if you were using the ENEQuery class you would set it like:
    ENEQuery query = new ENEQuery();
    ERecSearchList searchList = new ERecSearchList();
    String matchMode = searchTerms.contains(",") ? "mode+matchany" : "mode+matchallpartial";
    ERecSearch search = new ERecSearch( "your-search-interface", searchTerms, matchMode );
    searchList.add( search );
    query.setNavERecSearches( searchList );
    If you are using the Assembler Service, you can include the Ntx parameter in the call, so you would wrap your call with some conditional logic, e.g.:
    String serviceCall = null;
    if( searchTerms.contains(",") ) {
       serviceCall = "assember/xml/browse?Ntt=shirt,shoes&Ntx=mode+matchany";
    } else {
      serviceCall = "assember/xml/browse?Ntt=shirt,shoes&Ntx=mode+matchallpartial";
    If you are using the Content Assembler API within your application, it will depend on how you are invoking it but some of the above should help you customise appropriately.
    HTH
    Michael

Maybe you are looking for