Filtering values in prompts

Hi Everybody
We have a requirement where a column called "Role" will have a both numberic and character values in it.
Ex: 01 , 02 , .99 , .98 , 101 , PRM , PRS , EOS , PMS etc.
Now the user doesnt want any of these numeric values to appear in prompts where user wants to select the values while running it in a dashboard.
How can i restrict numeric values appearing for the user , so that they can only be able to see these characters instead of numeric values?
Please help me on this as this is a bit critical requirement for us to deliver.
Thanks a lot for your time on this in advance.
Regds
Mano

Hi Mano,
Within the dashboard prompt, set the SQL statement to be something like the following...
SELECT *<your role column>* FROM *<your subject area>*
WHERE *<your role column>* BETWEEN 'A' and 'Z'
JB

Similar Messages

  • Default value of prompt based on another request

    Hello:
    I have a requirement where I need to set default values of prompts based on another request.
    The prompt is a Date Prompt.
    I tried it using presentation variable, and writing sql query, where is says " WHERE promo_id= @{variable}"
    but it is still not working.
    Please let me know the workaround for this issue.
    Thank you.
    - Vinay

    How is the End Date determined for your BETWEEN operator? I would assume that is variable. Also, is the second report on another dashboard page or on the same page? Assuming both reports are on the same page, do the below. If not, you can use the same prompts on the second dashboard page. Set the scope to "dashboard" and the selection the user makes carries to the second page.
    The easiest way is to have 3 Dashboard prompts: Promo_ID, Start_Dt, and End_Date. Set these prompts to PVs: pvPromoID, pvStartDate, and pvEndDate, respectively.
    Filter report one on pvPromoID and pvStartDate.
    Filter the second report on pvPromoID and use pvStartDate in the filter of the Date column of report two. Assuming the BETWEEN values are variable, then you can write the following on the Date column of your second report:
    "Table Name"."Date ColumnName" <= '@{pvStartDate}' AND Table name"."Date Column Name" <='{EndDate}'
    And on your Promo column, use the filter "Table Name".Promo = '@{pvPromoID}'
    When the user selects the Promo ID, Start Date and End Date from the prompts, both the first and second reports will be filtered accordingly.

  • WIS 00015 error- Multiple Query Filters contain a prompt with same name

    Hi
            I am working BOXIR2 environment. I created two prompts at Universe level- one of Date field and one on agency name field.
    syntax for the prompts is
    customerInfo.RSRCE_NAME =  @Prompt('Enter value(s) for AgencyName ','A' , , ,)
    datetable.STARDATE =datetable.STARDATE.STARTDATE =  @Prompt(' 'Enter value(s) for StartDate:','D' , , ,)
    When I include even one of  the prompts in the report I am getting an error WIS 00015 Multiple Query Filters contain a prompt with the same text, but the prompts use a different operand type.
    If I try to change text of one of the prompts in Universe selection statement, then I see the prompt two times in the report.
    Please let me know how to overcome this issue.

    Ok, I've simplified the case.
    Here is the real case :
    Object filter =
    Based on object =
    .[LEVEL01]
    Object filter =
    Based on object =
    .[LEVEL01]
    In WBI query result I take these objects :
    .[LEVEL01]
    .[LEVEL01]
    .[4IUX93YJGXQEHGLX0T0GPNA9Y]
    In query filters, my 2 filters with same text :
    1.
    I run the query.
    Answer to question 'Single Year Period ?' = Period 06 2010
    ==> MDX error
    A database error occured. The database error text is: Echec de l'exécution de la requête MDX SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006] avec l'erreur Invalid MDX command with . (WIS 10901)
    And you can see that the value sent to both filters is the same and come from the first filter .[Z12010006] instead of applying the value to each filter .[Z12010006] for the first one and .[Z12010006] for the second one.
    Please, notice that if I change the order of this 2 filters in the WBI query, the MDX generated become :
    SELECT  { .[4IUX93YJGXQEHGLX0T0GPNA9Y] }  ON COLUMNS , NON EMPTY CROSSJOIN( .[LEVEL01].MEMBERS, .[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM SAP VARIABLES INCLUDING .[Z12010006] INCLUDING .[Z12010006]
    Thanks for your help.
    G.OM.

  • Not able to pass multi values from prompts to Bi Publisher 11g

    I am using a choice list in dashboard prompt with default value:"All Column values" and set to a presentation variable:"presvar
    In BIP 11G data model,in where clause i am writing it as:
    where tablename.colname in (:presvar)
    This is working only when i select single value in prompt ,if i select multi values in dashboard prompt it is not fetching me exact results.It is throwing error:"Invalid parameters"
    Kindly help if someone has faced the situation
    Version:11.1.6.2

    This is a bug:
    Bug 11793832 : MULTIPLE VALUES IN A DASHBOARD PROMPT DOESN'T WORK WITH BI PUBLISHER INTEGRATED
    I have been told that a fix is due in next patch set 11.1.1.7.2

  • Is there a way to hide some reports based on the selected values in prompt.

    Hi Experts,
    Is there a way to hide some reports based on the selected values in prompt.
    For ex. if a year is selected in the prompt then the report should display year wise report.
    If a year and half year both are selected in the drop down from prompt section then 2 reports should come.. One for year wise and another for half year wise.Kindly look into this.
    Regards
    Ashish

    Hi,
    Use presentation values in prompts for year,half,qtr and month.Example- For year-y is presentation variable in the same way for halfyear-h,qtr-q and month-m.
    create four intermediate reports.Example-Report r1 with only year column,r2 with only halfyear column,r3 with qtr column and r4 with month column.
    Make column in each report(r1,r2,r3,r4) is equal to their presentation variables(y,h,q,m).
    Use four sections.
    Section1-Place report that should come when only year.
    section2-Place report that should come for year and halfyear.
    Section3-Place report that should come for year,halfyear and qtr.
    Section4-Place report that should come for year,halfyear,qtr and month.
    Apply guided navigation for each section selecting guided navigation-
    For section1-
    properties->Guided navigation->check this Reference Source Request(Yes)->select report r1(year)->check this Show Section(if request returns row)
    In the same way do for remaining section2(select r2),section3(select r3) and section4(select r4)
    Thanks,
    Srikanth
    http://bintelligencegroup.wordpress.com/

  • Passing integer value in prompt

    Hi Everyone,
    I am trying to pass a smallint datatype value (ex: 2000) from a page prompt to a filter. When I try to view the result, I am getting an error;
    Error getting drill information: SELECT C1, C2, FROM SH WHERE C1 = variable1
    Odbc driver returning an error (SQLExecDriverW).
    State: HY000. Code: 10058....
    Unresolved column: "variable1".(HY000)
    Note: I tried CAST(C1 as INT) for the column formula, but it didn't help.
    But, I tried modifying the prompt column with non-integer, like Product Name, and pass the variable, the value is passed to the filter column Product Name and it worked.
    My goal is to pass a presentation variable(integer) and apply an expression to the variable (variable1 - 1) and use both the variable values for my filter between condition.
    Simply, I am looking for how to pass integer from prompt to filter and apply expression to the passed variable.
    Hope you guys will help me in solving this issue.
    Thanks,
    Tom.

    Hi,
    Can someone help in correcting the syntax that applied on the filter: cast(@{variable1} as int). I tried lot of ways.
    Passing a value from prompt and convert it to integer at filter end.
    I am trying to implement SQL Expression for filter as
    *cast(@{variable1} as int) - 1*
    Thanks.
    Edited by: user598596 on Aug 4, 2009 9:38 PM
    Edited by: user598596 on Aug 4, 2009 9:49 PM

  • Issue with filtering values in Web Template

    I am facing a problem with filtering values in Web Template.
    I have two queries based on two different data providers. One query is getting data from an Info set and the other from a Remote Cube. I have a single navigational block to filter values for both these queries but the change gets reflected only on the variable of one query. The other reflects no change and shows all the values irrespective of the filter condition.
    I have tried the option of setting in the properties of the navigational block, ‘affected data providers’ as both your data providers.But no effect.
    Can a single navigational block be used to filter values on 2 queries which are built on different data providers? If yes, can someone please tell me how it is possible?
    Kindly let me know how can I make the changes appear in both the queries?I am using SAP BI 3.5.
    Thanks & Regards,
    Suchitra

    Hi Peng,
    Frank also published a fix for 11g R1: http://www.oracle.com/technology/products/jdev/tips/fnimphius/rc_expand_menu_on_mouse_over.html
    function showMenu(event){
       var adfRichMenu = event.getSource();
       adfRichMenu.getPeer().show(null,true);
    }This should work.
    Luc Bors

  • Reporting: Multi-value select prompt

    Multi-value select prompt:  Need to verify if there is a limit to the number of items/size in a drop down list or if there are selected value limitations.

    Hi Rick,
    To clarify,  which type of parameters will you be using,  Dynamic or Static?   If you're using dynamic parameters (LOV's or Business Views) there is a limit on the display values,  but I am not aware of a limit on the input limit for multiple values.
    If you're using a dynamic parameter which will use an LOV or Business View the registry key value to increase can be found:
    HKLM > Software > Business Objects > Crystal Report > Database Options > LOV
    MaxRowSetRecords
    Regards,
    Wallie

  • Multiple values in prompt not working..

    I am able to create prompts using Java/ BO-SDK and i am also able to set values to these prompts; but the values in the report in Infoview are not getting refreshed. for e.g if a single value for city prompt is entered the code works fine but if i set multiple ";" separated values to this city prompt the values are not getting refreshed.
    Here is my code for prompts:
    function to set filter conditions
    public static void setFilterConditions ( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList )
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            if(conditioncont!=null)
                 conditioncont.removeAllChildren();
                   createPrompt(doc, filterList);
                 applyValuesToPrompt(doc, filterList);
              doc.setPrompts();
              dp.runQuery ();
              doc.refresh();
    function to create prompts.
    public static void createPrompt( final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            System.out.println("Inside create Prompt method ");
            final ReportDictionary reportDict = doc.getDictionary();
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            conditioncont = q.createCondition(LogicalOperator.AND);
              for(int i=0;i<filterList.size ();i++)
                      conditionFilterDataItem = filterList.get ( i );
                      final String[] operands =  conditionFilterDataItem.getFilterOperand ();
                      final ReportExpression reportExpression = reportDict.getChild
                            ( reportDict.getChildByName ( conditionFilterDataItem.getQueryObject ()).getID () );
                      final String objectName = conditionFilterDataItem.getQueryObject();
                      final DataSourceObject dataSourceObject = reportExpression.getDataSourceObject ();
                      ConditionObject conditionObject = null;
                      conditionObject = conditioncont.createConditionObject ( dataSourceObject );
                      final FilterCondition fc = conditionObject.createFilterCondition
                            (Operator.fromInt ( conditionFilterDataItem.getOperator ()-1));
                      ConditionPrompt condPrompt = fc.createConditionPrompt("Enter value of "+objectName+":");
                      condPrompt.setConstrained(false);
                      condPrompt.setMonoValue(false);
                      System.out.println("Prompt created for object name ::"+objectName);
                     if( operands.length > 1 && operands[1]!=null)
                          ConditionPrompt secondPrompt = fc.createConditionPrompt("Enter another value of "+objectName+":");
                          secondPrompt.setConstrained(false);
                          secondPrompt.setMonoValue(false);
                          System.out.println("Another Prompt created for object name ::"+objectName);
                      doc.applyFormat();
                 dp.runQuery();
                  doc.refresh();
                  doc.save();  
    function to set values to prompt
    public static void applyValuesToPrompt(final DocumentInstance doc,final List<ConditionFilterDataItem> filterList)
            final DataProviders dps = doc.getDataProviders();
            final DataProvider dp = dps.getItem(0);
            final Query q = dp.getQuery();
            ConditionContainer conditioncont = (OMConditionContainer)q.getCondition();
            ConditionFilterDataItem conditionFilterDataItem = null;
            Map promptMap = generateInstanceMap(doc);
            OMFilterPrompt[] promptArr;
            if(filterList.size()==conditioncont.getChildCount())
                      System.out.println("conditioncont.getChildCount() "+conditioncont.getChildCount());
                      for(int i=0;i<filterList.size();i++)
                           System.out.println("FilterLsit size is "+filterList.size());
                           System.out.println("current value of i is "+i);
                                conditionFilterDataItem = filterList.get ( i );
                            final OMFilterSimple filter = (OMFilterSimple)conditioncont.getChildAt(i);
                            System.out.println( conditionFilterDataItem.getOperator ()+"  conditionFilterDataItem.getOperator ()");
                               System.out.println(conditionFilterDataItem.getQueryObject()+" conditionFilterDataItem.getQueryObject()");
                            final String[] operands = conditionFilterDataItem.getFilterOperand();
                            System.out.println("operands for "+conditionFilterDataItem.getQueryObject()+" is "+operands.length);
                            System.out.println(filter.getID());
                            promptArr=filter.findPrompts();
                               for(int j=0;j<promptArr.length;j++)
                                    OMFilterPrompt prompt= promptArr[j];
                                    System.out.println(prompt.getDisplayName());
                                    String promptName=prompt.getDisplayName();
                                    Prompt currentPrompt = (Prompt)promptMap.get(promptName);
                                    if(operands[j]!=null)
                                    currentPrompt.enterValues(convertStringToArray(operands[j]));
                                    System.out.println("value set is ::"+operands[j]);
              doc.setPrompts();        
              //dp.runQuery ();
              doc.refresh();
        * Converts String to a string array.
        * @param values -
        *            string to be converted.
        * @return - String Array
       private static String[] convertStringToArray(String values) {
           StringTokenizer promptval = new StringTokenizer(values, "=");
           int loop = 0;
           int size = promptval.countTokens();
           String[] newArr = new String[size];
           while (promptval.hasMoreTokens()) {
               newArr[loop++] = new String(promptval.nextElement().toString()
                       .trim());
           return newArr;
    function to create map for prompts
      private static Map generateInstanceMap(DocumentInstance document)
            Map<String, Prompt> promptMap = new HashMap<String,Prompt>();
            Prompts prompts = document.getPrompts();
            int count;
            if(prompts!=null)
                 count= prompts.getCount();
                 for(int i=0;i<count;i++)
                      Prompt prompt= prompts.getItem(i);
                      promptMap.put(prompt.getName(),prompt);
            return promptMap;
    i first remove all filter conditions the create prompts and then sets values to these prompts.
    the values are set correctly to the report when viewed in Infoview but the values are not refreshed ; so i see a blank report.
    Can anyone help with a code snippet at the earliest.

    All replies so far have focused on solving multiple form issues. I have no problem with multiple forms per page but exactly like the original poster I can not get my h:commandLinks to work when embedded in a h:datatable.
    I have command buttons before and after the data table working great, but for whatever reason command links just do a post back to the backing bean.
    At this point I am not even trying to process data, just verify the action method is being executed.
    Another item of note, the links will always post to the same bean regardless of what bean is referenced in action="...."
    Any ideas?
    Message was edited by:
    jasontc
    It appears once the page is rendered for the first time any future rendering will display the link(s) but the link(s) will be junk.
    I ran a test with a pre populated ArrayList for my datatable, link worked. I then reload the datatable with a different ArrayList and the link is still referencing the original item in the list. So the action method I want to call is called but the .getRowData is incorrect. In addition of the number of items in my list grows the links become junk beyond the original size of the list.

  • Regarding Can we store User Selected values in prompts

    Please help us in achieving the below requirement.
    Requirement is to store User Selected values in prompts when the report is opened by a User for the first time and make use of those values to refresh the report next time onwards.
    1.Can this be achieved in WebI ?
    2.If it is thru SDK(we use Java), any experience/help in doing this ?
    Environment : BO XI 3.1 with SAP BW Integration

    Hi ,
    If you dont want data to be displayed in this report for this two values , then exclude this two values when you restrcit your characteristic to the variable.
    If you want not to display this values when user opens help for entering the values where he can see all the possible values for selection for the variable, then it wont be possible.
    Hope this will help.
    - Jaimin

  • Hide value in prompt ?

    Hello,
    I am working on a report in Webi XIR2 SP4 and I would like to hide the value for a special prompt during user is filling in it like a password : is it possible to replace characters with points ("****") for exemple ?
    I see that something like tihs exists in Crystal Report but I found any options about it in Business Objects / Web Intelligence / Designer.
    Do you have an idea ?
    Thanks for your answer.
    Bests Regards.

    you can find this in the help of the universe designer.....
    see this,,,,,,
    good luck
    Amr
    @Prompt
    You can use the @Prompt function to create an interactive object. You use a @Prompt function in the Where clause for an object. It forces a user to enter a value for a restriction when that object is used in a query. When the user runs the query, a prompt box appears asking for a value to be entered.
    @Prompts are useful when you want to force a restriction in the inferred SQL but do not want to preset the value of the condition.
    You can optionally define default values for prompts. A prompt containing default values behaves in the same way as a Web Intelligence prompt with default values.
    The syntax of the function is as follows:
    @Prompt('message','type',[lov],mono/multi,free/constrained/primary_key,persistent/not_persistent, [{'default value':'default key'[,'default value':'default key',...]}) 
    The syntax is described in the following table:
    Syntax  Description 
    'message'  Text of the prompt message. The text must be enclosed between single quotes, for example, 'Choose a Region', 'Pick a time period', or 'Choose a showroom'. The text appears in the prompt box when the query is run. 
    'type'  Data type returned by the function. It can be one of the following:
    'A' for alphanumeric
    'N' for number
    D' for date
    The specified data type must be enclosed in single quotes. 
    lov  List of values (optional). You can specify two types of list of values:
    Hard coded list. Each value is separately enclosed in single quotes and separated by a comma. The whole list is enclosed in curly brackets. For example, {'Australia', 'France', 'Japan', 'United Kingdom', 'USA'}.
    Pointer to a List of Values from an existing object. You invoke the target lov by double clicking on the object containing the lov that you want to use in the Classes and Objects panel. This gives the Class name and the Object name, separated by a backslash. It must be enclosed in single quotes. For example: 'Client\Country'. 
    mono  User can select only one value from the list of values. 
    multi  User can select multiple values from the list of values. 
    free  User can enter a value, or select one from the list of values. 
    constrained  User must select a value from the list of values. 
    primary key  Use the primary key parameter with "free" or "constrained". The user enters a value or selects from the list of values. If the primary key parameter is present, the entered or displayed value is not used to generate the query. The associated key value from the Index Awareness column is used. 
    persistent  When refreshing a document, the last values used in the prompt is displayed by default. 
    not persistent  When refreshing a document, no values used is displayed in the prompt by default. 
    'default value':'key value'  The default values parameter is used to define default values presented to the user.
    You can define multiple default values.
    The syntax for each default value is: u2018valueu2019:u2019keyu2019.
    The colon ( is the separator between the value and the key.
    When refreshing a document these values are displayed by default but if the persistent option is set, then the last values used in the prompt are used instead of the default values.
    If you specify the primary key parameter in the prompt definition, then you must provide the key value(s). 
    Note: For each of the optional parameters, if you omit an argument, you must still enter the commas as separators.
    Example: Using @Prompt to restrict countries
    The object Country returns values for the countries of resorts. If you want to restrict the returned values to resorts for only one country, you would need a separate object for each resort country in the universe. However, using the @Prompt, you need only one object as follows:
    The user is prompted to enter the name of the country, and the returned values are the resorts from that particular country, as shown below:
    When a query is run in Web Intelligence, the following prompt box appears:
    Example: @Prompt syntax with default values
    @prompt('Enter value(s) for Customer with IA:',
    'A','Customer\Customer with I A',
    Multi,primary_key,{u2018Bakeru2019:u20191u2019,u2018Brendtu2019:u20192u2019})

  • Error Message: The syntax of the value for prompt 'p_phone_num' is incorrect. Please correct the syntax and try again.

    Post Author: helpwithcr
    CA Forum: General
    " The syntax of the value for prompt 'p_phone_number' is incorrect. Please correct the syntax and try again."
    I am getthing this error while I tried to pass the value from an oracle package to the web when the the crystal report viewer kicks in.
    I found the source of the error. Its just a paranthesis that I used with the phone number inside the function.... The function looks like this
    function phone_number
    return varchar2
    is
    begin
    return '(123) 456 - 789';
    end phone_number;
    I really dont want that paranthesis to go. Its the format that everyone wanted. But they dont want that to be static on the report also
    Please help
    Thanks
    helpWithCr

    Sir, you are a legend!!! 
    Many thanks for putting me on the right track... 
    Here's where I went wrong and how I fixed it.
    First I installed the Azure Pack: MySQL Extension on the MySQL server.
    This was wrong, it needs to be installed on the WAP server/s.
    So I installed the extension on the WAP server and it still didn't work.
    So I uninstalled the extension from the MySQL server and it still didn't work.
    So I also installed the MySQL Connector/Net on the WAP server and it worked.
    This eventually fixed it. 
    What I will say is that in the documentation it doesn't mention installing the MySQL Connector/Net from the web platform installer on the WAP server (unless I have completely missed this)?
    Thanks again :-)
    Microsoft Partner

  • WEBI Date values in prompt list

    Hey, guys!
    I have a prompt in my WEBI report (4.1) for a week ending day, which means that only Saturdays are a valid input. As user not always understand it, I need to change prompt from calendar view to a list of valid values (which are Saturdays).
    Do you know how to do it, guys?
    Thank you in advance!
    P.S. Report is built on a BEX Query on top of a Multiprovider.

    Hello Nikita,
    Please refer this.
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/24/dynamic-default-values-with-prompt-in-webi-reports-based-on-bex-queries-in-bo
    Regards,
    Ritika Garg

  • Values of prompt not reflected in reports.

    Hi,
    I have created two reports both with two columns. The first column is the main dimension (an id that represents a specific entity) and is prompted, the second column is the first colum with a ranked filter. In this ranked filter I also specify a rank. So if I specifiy the rank as 1 the filter of the second column looks like this: WHERE (RANK("- ID".ID) = 1). In the second report, I specify the rank as 2.
    Then I create 2 new reports that also have the same ID column and the some other columns. These two reports are my "real" reports. In the id column I specify a filter as being a filter that is based on the results of another request. As you might guess, I choose the corresponding reports mentioned earlier as the reference reports. I then place these "real" reports on a dashboard page with a prompt. The prompt is set to the ID the reports have as column and is of type "multi-select".
    This construction is done to be able to show seperate reports for the ids I specify in the prompt. Say I select id 100 and id 200 in the prompt, the dashboard shows two seperate reports, one for id 100 and one for id 200.
    Now the problem:
    For some ids, however, the report is not generated. Although I am sure the id exists, the dashboard comes back with the message:
    No Results
    The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below.
    RANK(ID) is equal to 2.
    Does anybody know what could cause this?
    Thanks in advance.

    Hi,
    This is known bug of OBIEE, try using RCOUNT instead of RANK.
    Regards
    John
    http://obiee101.blogspot.com/

  • How to calculate the value from prompt and use the value as filter

    Hi everyone,
    I am designing a OBI query. I want to write a query and one of it filters comes from the dashboard prompt. Say I want to make a query to pull out the record for 3 consective years and user wants to enter the last year # and omit entering the first 2-year code#.Thanks!

    Hi,
    if i understand your question
    you have a prompt for year.. and it's assigned with presentation variable, say: var_year
    And you are just entering value for only one year, say 2000.
    Then, the request (which is using that prompt value as filter) should display year values 2000, 2000-1 (i.e. 1999), 2000-2 (i.e. 1998).
    Is this your requirement?
    If then,
    Hope you are using edit box as control for year prompt and assign a presentation variable for that prompt.
    Now, in report go to filter of year prompt, click on advance > Convert this filter to SQL.
    write here... *Times.Year between @{var_year} and @{var_year}-2*
    And make sure that your var_year is integer, if not cast it to integer

Maybe you are looking for

  • HELP!!! ITUNES STOPS WORKING!!

    I'm having problems getting Itunes to stay open. When I open it on my pc, which runs Microsoft Vista 32bit Home Premium, it closes saying that Itunes has stopped working. I have tried to uninstall Itunes using the instructions placed by Apple, but I'

  • Can no longer connect to shared folder via Samba (10.5.8)

    I used to be able to connect to shared folders on my leopard (10.5.8) PPC machine via Samba. Now, when I choose "Go to Folder..." from another machine and enter the correct URL (smb://192.168.0.XXX), I get a list of all the volumes and users, includi

  • Project Management - Project Started by InfoPath Form

    Hi, I'm struggling to figure out how best to use SharePoint 2010's project management under the scenario below.  Any input would be appreciated. An InfoPath form is submitted to a library.  The form has 5 possible choices in any combination.  Under e

  • Continue motion tracking

    I did motion tracking and have a target layer attached to the motion tracking and it the target is masked. It is working great. I corrected some of the keyframes in the motion tracking and really fine tuned it. Now, I would like to continue the same

  • EJB Deploy and XMLDocument

    Hi, when I try to deploy a session bean (stateless) on Oracle8i 8.1.7 using jDeveloper 3.2.2 i have the following message: error: loadJava has failed to load some classes; Please check trace file! *** Errors occurred while deploying the EJB to 8i JVM