Single prompt with multiple selection criteria

I need to build a prompt against a date field; right now this prompt has 'greater than or equal to' criteria.
Is there a way to show all criterias in a report view (not Edit Query mode or Edit Report) associated with a single prompt?
this way users will have flexibility to change criteria from 'greater than and equal to' to 'less than and equal to'...etc without going into Edit mode.
Please advise.

Hi Ahmed,
This is a bit of a long shot.
In the universe, you will need a derived table which has a list of operators.
SELECT '>' from DUAL
UNION ALL
SELECT '<' FROM DUAL
and base a class/object on it Useful objects, Operators.
build a prompt on that
@prompt('Select Operator' 'A', 'Useful objects\Operator', mono...)
you can then use this it in your calculatin in the report
if(UserResponse("Select Operator")="<";[val1]-[val2];if(UserResponse("Select Operator")=">";[val2]-[val1];0))
Let me know if it works

Similar Messages

  • Applescript list with multiple selections

    Hello guys, i have h big problem...
    i was trying the multiple selections part by the command list, but if i select 2- and more it does nothing (i'm using if x is y then *linebreake* else if ...)
    so i tried another way script:
    tell application "Finder"
      --get folders of me--
              set a to get name of folders of folder "Contents:Resources:Versionen" of (path to me) --in this folder i got folders named  {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}--
              set b to choose from list a with prompt "Choose your Minecraft Version!" with multiple selections allowed
      --next step--
      count b
              set c to result
              repeat c times        --with this part i wanted to handle every selected folder as an individual to duplicate it somewere else
                        set ab to b * -1
      duplicate folder ab to folder (choose folder)
              end repeat
    end tell
    thanks for helping me

    The following script (tested under OS X 10.8.2) should do what you are asking for:
    tell application "Finder"
        set theSourceFolder to folder "Contents:Resources:Versionen" of (path to me)
        set theFolderNames to get name of folders of theSourceFolder
        set theChosenNames to choose from list theFolderNames with prompt "Choose your Minecraft Version!" with multiple selections allowed
        if result is false then return
        set theDestinationFolder to choose folder
        repeat with thisName in theChosenNames
            duplicate folder thisName of theSourceFolder to theDestinationFolder with replacing
        end repeat
    end tell
    Message was edited by: Pierre L.

  • How to compare single value with multiple values

    In my query I have something like this:
    A.SOR_CD=B.SOR_CODE where A and B are 2 different tables. This condition is in the where clause. The column in table A has single values but some values in table B have multiple comma separated values (822, 869, 811, ..).  I want to match this single
    value on the left side with each of the comma separated values. Please let me know how will I be able to do it. The number of comma separated values on the right side may vary.

    Hi MadRad123,
    According to your description, you want to compare single value with multiple values in your query. Right?
    In this scenario, the table B has comma separated values, however those comma separated values are concatenated into a string. So we can use charindex() function to return the index of the table A value. And use this index as condition in
    your where clause. See the sample below:
    CREATE TABLE #temp1(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp1 VALUES
    ('1','A'),
    ('2','A'),
    ('3','A'),
    ('4','A'),
    ('5','A')
    CREATE TABLE #temp2(
    ID nvarchar(50),
    Name nvarchar(50))
    INSERT INTO #temp2 VALUES
    ('1','a,A'),
    ('2','A,B'),
    ('3','c'),
    ('4','A,C'),
    ('5','d')
    select * from #temp1 a inner join #temp2 b on a.ID=b.ID
    where CHARINDEX(a.Name,b.Name)>0
    The result looks like below:
    Reference:
    CHARINDEX (Transact-SQL)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How do i take one layer with multiple selections...

    how do i take one layer with multiple selections and make those selections their own layer?

    Yes sir. It w was really hard to explain. It is discontiguous segments that are separated by transparent areas. And I want those non transparent areas to be on their own layer. I have a photo shop file that has a bunch of buttons on them and they are on a transparent background. It is one layer. I want to select all the buttons and put them on their own layers. I can do this manually by selecting a button and cmd Just to a new layer, but when I have 200 buttons it is a daunting task.
    Sent by MailWise<http://www.mail-wise.com/installation/4> – Your emails, with style.

  • Sharing iTunes on a single computer with multiple users

    Greetings,
    I have been troubleshooting a problem sharing iTunes on a single computer with multiple users that cropped up a few weeks ago and have not had very good luck.
    Several months ago I successfully set up my wife’s G4 Laptop (PowerPC processor) so that we could share iTunes on that computer. I had just gotten her an “My Book” external hard drive (Western Digital). The iTunes Library will go on this new unit because the internal drive was running out of room. I successfully set the privileges, moved the entire library onto a “Share” directory and everything worked fine.
    In this way, when I got a new CD I could add it to iTunes (under my login, administrator privileges) and she could access it (under her login) to listen to while working on the computer or using her iPod. This arrangement went well for quite awhile.
    About a month and a half ago, when I tried to launch iTunes from my login I received this message:
    “The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file.”
    I think the permissions must have changed when there was an update because my wife is pretty careful about what she does on her computer. Updates were the only thing I could think of that had changed since I had set her computer up. I also noticed that some of the iTunes defaults were different from the last time I had used it to add a CD.
    So, I did some reading and went back through the motions of trying to set it up again. I re-formatted the My Book hard drive to Mac OS Extended (Journaled) added the files back to the external, reset permissions on the external hard drive. (Owners: System, Access: read and write - Group: wheel, Access: read and write – Others: read and write).
    When I now launch iTunes under my login I get this message:
    “The operation cannot be completed because you do not have sufficient privileges for some of the items.”
    What gives? I am the original owner and have always had top-level privileges.
    Can someone point me to any articles or clues as to how I need to set-up iTunes on a single computer to be shared by more than one user? Also, I am considering upgrading to the newer system in a few weeks, so if a solution for OS X 10.5 is available, that would work too.
    Tim

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • HT2688 Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared librar

    Working on a single computer with multiple users, I have set things up to allow each user to view and listen to the others' music libraries under the "Shared Library" function.  Can you then connect an iPod touch and copy music from a shared library?

    Was your wife logged into the libray at the time you tried to log in? I have had a similar problem and it was because another user was logged into the library when I attempted to. I got the permission denied banner.

  • How to create a table with multiple select on???

    Hi all,
            I am  new to webdynpro and my requirement is to create a  table with multiple selection on.I have to add abt 10 rows in the table but only 5 rows should be visible and moreover a verticalscroll should be available to view other rows.Can anybody explain me in detail how to do that.Please reply as if you are explaining  to a newcomer.Reply ASAP as i have to do it today.
                                                                           Thanxs

    Hi,
    1. Create a value node in your context name Table and set its cardinality to 0:n
    2. Create 2 value attributes within the Table node name value1 and value2
    3. Goto Outline view> Right click on TransparentUIContainer>Apply Template> Select Table>mark the node Table and it's attributes.
    you have created a table and binded its value to context
    Table UI properties
    4.Set Selection Mode to Multi
    5.Set Visible Row Count to 5
    6.ScrollableColCount to 5
    In your implemetaion, you can add values to table as follow:
    IPrivate<viewname>.ITableElement ele = wdContext.nodeTable().createTableElement();
    ele.setValue1(<value>);
    ele.setValue2(<value>);
    wdContext.nodeTable().addElement(ele);
    The above code will allow you to add elements to your table node.
    Regards,
    Murtuza

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • How to select value from list with multiple selections ?

    HI,
    i have a list with multiple selections where i show email address retrieved from database.
    what i want to do is to send the selected email address to the invoiceedit.jsp.
    please look at the following code which gives you the better idea.
    <td class='smalltext'><select name="email" size="3" multiple="multiple">
       <% 
       Connection conn = null;
       Statement stmt = null;
       Statement stmt_contactperson = null;
       Statement stmt_address = null;
       try{
          conn = getREConnection();
           stmt = conn.createStatement();
       ResultSet rs = null;
       rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
       int numofrows = 0;
       while(rs.next())
               %>
       <option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE")  %> </option>
        <%
           }//end of while
          %>
         </select>
        <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
         <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanks

    Use a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
    That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead.

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • Will there performance improvement over separate tables vs single table with multiple partitions?

    Will there performance improvement over separate tables vs single table with multiple partitions? Is advisable to have separate tables than having a single big table with partitions? Can we expect same performance having single big table with partitions? What is the recommendation approach in HANA?

    Suren,
    first off a friendly reminder: SCN is a public forum and for you as an SAP employee there are multiple internal forums/communities/JAM groups available. You may want to consider this.
    Concerning your question:
    You didn't tell us what you want to do with your table or your set of tables.
    As tables are not only storage units but usually bear semantics - read: if data is stored in one table it means something else than the same data in a different table - partitioned tables cannot simply be substituted by multiple tables.
    Looked at it on a storage technology level, table partitions are practically the same as tables. Each partition has got its own delta store & can be loaded and displaced to/from memory independent from the others.
    Generally speaking there shouldn't be too many performance differences between a partitioned table and multiple tables.
    However, when dealing with partitioned tables, the additional step of determining the partition to work on is always required. If computing the result of the partitioning function takes a major share in your total runtime (which is unlikely) then partitioned tables could have a negative performance impact.
    Having said this: as with all performance related questions, to get a conclusive answer you need to measure the times required for both alternatives.
    - Lars

  • [svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection

    Revision: 10943
    Author:   [email protected]
    Date:     2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
    Log Message:
    Fix to dragging from List with multiple-selection
    - The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
    - Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Deepa
    Tests run: checkintests, mustella List, DropDownList
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

  • List with multiple selection

    Hello;
    I seek a code to implement a list with multiple selection for a browser Web (HTML is imited).
    I have a list containing of the years, the user can select one or several years and I created dynamically a array : for each year a column.
    Thank you;

    Look at JList.
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JList.html
    � {�                                                                                                                                                                           

  • Restricting single PO with multiple plant

    Experts,
    Pl help me in restricting user from creating single PO with multiple plant. Is there any config available??? 
    I dnt want to go for any ABAP development.
    Thanks in Advance,
    Parag Mahajan

    Dear Parag,
    Querry :  Restricting a single P.O. with multiple plants:
    If you want to restrict a single Purchase order with multiple plants the reason may be that;
    Suppose your ordering material A for which you have three vendors in you SAP. But you are requiring this material in all your plants say example three plants.
    You can create Purchase order for same with vendor but due the huge requirement your vendor get overloaded.And your other capable vendors are not used at all.
    You can try out with quota arrangement for all vendors with which the quantity will be allocated to all the vendors depending on the quota rating.
    Also you can define lot sizing procedure for a your vendor in customizing and can avoid creating Purcahse order with multiple plants.
    Thanks ,
    Tushar Patankar

  • PARM error (shows as mrap) with multiple selections, no error with single selection

    Hello all,
    I am new to Illustrator scripting this is my first script. I am getting a this error " Error 1200: an Illustrator error occurred: 1346458189 ('MRAP'): line 50" which is the line:
    var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]); 
    It only occurs when I have multiple selections and never when I have only one selection. After a little research I have found the error is actually PARM, but I don't see any uninstantiated variables or other  issues that could be throwing this error. I am on a mac Illustrator CC. I would appreciate any help on the matter. Below is the full script.
    #target Illustrator
    // This script was made to take all selected objects
    // Create a new arboard for all Selected objects
    // At a user specified width and height then
    // Scale the object to the artboard size and center
    var doc = app.activeDocument;
    var select = doc.selection;
    if (select.length &gt; 0) {
         var title = "Fit Selected Object(s) to Artboard(s)";
         var msg = "Enter the width and height of artboards (single number)";
         var board = Number(Window.prompt (msg, 0, title));
         for(var i = 0; i &lt; select.length; i++) {
              var selectW = select[i].width;
              var selectH = select[i].height;
              if(selectH &gt;= selectW) {
                   if(board &gt; selectH) {
                        scale = board/selectH*100;
              } else {
                   scale = board/selectW*100;
              var boardIdx = doc.artboards.getActiveArtboardIndex();
              var boardSrc = doc.artboards[boardIdx];
              var boardSrc_L = boardSrc.artboardRect[0];
              var boardSrc_T = boardSrc.artboardRect[1];
              var boardSrc_R = board;
              var boardSrc_B = -board;
              var moveX = 10;
              var next_board_L = boardSrc_R + moveX; 
              var next_board_T = boardSrc_T; 
              var next_board_R = next_board_L + (boardSrc_R - boardSrc_L); 
              var next_board_B = boardSrc_B;
              var next_board = doc.artboards.add([next_board_L, next_board_T, next_board_R, next_board_B]); 
              select[i].resize(
                  scale, //this is a percentage of current width 
                  scale, //this is a percentage of current height 
                  true, // changePositions 
                  true, // changeFillPatterns 
                  true, // changeFillGradients 
                  true, // changeStrokePattern 
              var selPosX = select[i].left;
              var selPosY = select[i].top;
              var selBoardDiffX = next_board_L - selPosX;
              var selBoardDiffY = next_board_T - selPosY;
              var toCenter = 0;
             select[i].translate (
                       selBoardDiffX,
                       selBoardDiffY,
                       true,
                       true,
                       true,
                       true
             var boardH = next_board.artboardRect[2] - next_board.artboardRect[0];
              var boardW = next_board.artboardRect[3] - next_board.artboardRect[1];
             if( boardH &gt; select[i].height ) {
                  toCenter = (boardH-select[i].height)/2;
                      select[i].translate (
                                0,
                                -toCenter,
                                true,
                                true,
                                true,
                                true
             var NegSelectW = select[i].width * -1; //Must be a negative number
             if ( boardW &lt; NegSelectW ) {
                  toCenter = (boardW+select[i].width)/2;
                      select[i].translate (
                                -toCenter,
                                0,
                                true,
                                true,
                                true,
                                true

    Ah I finally understand. I looked into that post a little more an started experimenting. I used the function posted to create my artboards. Its a lot easier if you can think
    (x, y, width, height). So yes the issue was with my variable but not in the way I was thinking.
    for those who need it here is the function posted in that thread
    var newRect = function(x, y, width, height) { 
        var l = 0; 
        var t = 1; 
        var r = 2; 
        var b = 3; 
        var rect = []; 
        rect[l] = x; 
        rect[t] = -y; 
        rect[r] = width + x; 
        rect[b] = -(height - rect[t]); 
        return rect; 

Maybe you are looking for

  • Memory upgrade on Satellite A300D-15B

    Hi all, I am having upgrading the ram on my laptop from 4gb to 8gb. First I will post the full details of my laptop then explain the problem. (Original Configuration) Satellite A300D-15B Model : PSAKCE Bios Ver: 3.30 AMD Turion X2 Ultra Dual-Core Mob

  • How to access parameters from an object stored in a shopping-cart vector?

    Hello; I am writing some code that will be part of a website that will have the ability to allow customers to place items into a shopping cart and then purchase them. The way that the shopping cart works is that a products page is displayed on the we

  • Threaded Emails in Mail

    Hi All, I have the same email address (Gmail) set up on both my Mac and my iPod Touch using IMAP. On my Mac, I can organize my emails by thread, however, I do not see such a feature on my iPod Touch. Thus, I was wondering if the Mail app on the iPod

  • Controlling access to Oracle Mapviewer spatial data through VPD

    I am building a web GIS application in Oracle Application Express (APEX) and have used the Virtual Private Database feature of Oracle Database 11g Enterprise Edition so as to ensure row level security. I've integrated APEX with Oracle Mapviewer throu

  • EJBs sending multiple JMS messages

              I have two EJBs running on my server. Both EJBs are listening to a JMS topic.           Upon recieveing           a message from the topic, the EJBs need to do some processing and then write a           different           message to the to