Restrict Calendar Control Date

Hi:
I want restrict Calendar Control date.
For Example: I have 2 Calendar control parameter(Startdate,Enddate). If i select Startdate(2014-04-24)Parameter, Todate Parameter user will not select less than Startdate value (Past date are Hide/Invisible/Not selectable) and Limit the
date. How to restrict Enddate parametre value in SSRS 2008 R2.
Thanks in Advance
Paramesh G

Hi,
Currently, this cannot be achieved in Reporting Services. If I specific dates in the available values, the calendar control will change to a drop-down box control. You can only specify the default value for this parameter.
Here is my workaround for this:
1. Add a text box and type “The start day cannot be greater than the end day!” in the value.
2. On the Visibility page, choose the option of Show or hide based on an expression. Click expression button and type:
 =IIF(Parameters!EndDate.Value<Parameters!StartDate.Value,FALSE,TRUE)
3. And define the visibility of your report as well, using the following expression:
=IIF(Parameters!StartDate.Value>Parameters!EndDate.Value,TRUE,FALSE)
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • Calendar Control Date Input Field

    Hi All,
    1) Is there any (easy) way to place a calendar control next to a date input field for date entry help (just like in JS)?
    2) If yes, how could we make the calendar help popup language-dependent ?
    Thanks for all the help...
    H2

    From the help menu in your Developer studio choose:
    SAP Web AS Documentation,
    SAP Web Dynpro applications
    Then go to
    Core development tasks,
    View, programming UI
    UI elements guide.
    Alternatively, on the left hand side you can search for any Web Dynpro class (e.g. IWDContextNode) and acces the Web Dynpro API.
    Good luck, Roelof

  • Prompt Calendar Control - Date Format

    Hi,
    I have a Calendar Control in my Prompt, that I initialize to a default value as:
    SELECT MIN("- Dim_Date".DATE_VALUE) FROM PRS
    When a user first goes to the dashboard page, the default value is in the format '2000-01-01'
    However, when the user selects a different date, it goes to the format '01/01/2000'
    How can I make the format consistent?

    Resolved by changing Default value SQL to:
    SELECT EVALUATE('REPLACE(TRIM(leading 0 from TO_CHAR(%1,%2)),%3,%4) ' as varchar(20),MIN("- Dim_Date".DATE_VALUE),'MM/DD/YYYY','/0','/') FROM PRS
    This displays the default date in format 1/1/2009, the same format shown when choosing a different date from the calendar control.

  • Calendar Control Date Format intermittently Changing

    I've noticed that every once in a while the Calendar Date format temporarily changes from DD/MM/YYYY to MM/DD/YYYY
    This is very problematic for me. Is there a place i can specify this so that it never changes?

    Resolved by changing Default value SQL to:
    SELECT EVALUATE('REPLACE(TRIM(leading 0 from TO_CHAR(%1,%2)),%3,%4) ' as varchar(20),MIN("- Dim_Date".DATE_VALUE),'MM/DD/YYYY','/0','/') FROM PRS
    This displays the default date in format 1/1/2009, the same format shown when choosing a different date from the calendar control.

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • SQL SSRS 2008 DateTime Calendar Control and Oracle 10g Data Source

    Hello. I am creating reports in SSRS 2008 using the calendar control for a date range. Let's say we select a start date of 3/3/2012. This parameter is sent into my SQL statement in the WHERE clause which is executed against an Oracle 10g database. All syntax has to be in SQL that Oracle understands, so no CONVERT or CAST.
    The format of the date is throwing an error "ORA-01843: not a valid month" when I try to use the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_DATE('3/03/2012', 'MM/DD/YYYY')
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    I cannot find a way to format the date parameter in SQL Server SSRS before it gets to the SQL to be executed in Oracle.
    Please help.
    Thanks,
    Sunny

    920616 wrote:
    sb92075: I am showing you how Oracle renders the date if I do a simple select from the table from which I am trying to pull data. You are right, it sure doesn't prove anything other than how the date looks right out of the Oracle database, but hopefully, it will give a clue as to how I need my SSRS date parameter to work.
    Hans Forbrich:
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    Solomon:
    It works. The problem is getting the parameter '3/3/2012' into a usable format for Oracle.
    Let's assume an application is sending in '3/3/2012' which will be used in an Oracle query (no PL/SQL allowed, nor can I create functions, stored procedures, etc - only straight up SQL). How can I prepare the parameter to successfully do the compare on the Oracle Date field?
    12:50:23 SQL> select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual;
    select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    12:51:00 SQL> ed
    Wrote file afiedt.buf
      1* select TO_DATE('03/03/2012', 'MM/DD/YYYY') from dual
    12:51:20 SQL> /
    TO_DATE('03/03/2012
    2012-03-03 00:00:00

  • Date format for ipc calendar control in configuration UI

    Hi
    Does anyone know how to change the format of the date in the calendar control of the configuration UI? Currently when I try to configure a product in the b2c webshop or through SAPGUI, my date characteristics display in MM/DD/YY rather than DD/MM/YY. I have checked the usual suspects (default date format of WEBLOGIN user, logged in customer, my user) and all are set to DD/MM/YY. I could not find a setting in the XCM either.
    Can anyone point me in the right direction?
    Thanks
    Mike

    Hi Mike,
    Date display property is part of user settings for User ID.
    Go to transaction SU3
    Go to Default tab and adjust the date formats.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Calendar control not binding default data

    Hi All,
    I an using the calendar component to set the data my QaaWS looksup data for. The problem is the first time I display the calendar, it does not insert the current selection into my destination cells. THis is not happening all the time or for all calendars.
    I have 5 calendar controls on a dashboard. Each is set to dynamically display. When displayed it is supposed to display a selected data, which I can see is correct if I use the spreadsheet component. However, when the 4th aand 5th components are displayed they do not insert the data to the data insertion cells, for month (sometimes) and year (always) unless I change that data.
    Version 2008 SP1, FP1
    Regards
    Alan
    Edited by: Alan McClean on Jan 12, 2009 10:09 AM

    920616 wrote:
    sb92075: I am showing you how Oracle renders the date if I do a simple select from the table from which I am trying to pull data. You are right, it sure doesn't prove anything other than how the date looks right out of the Oracle database, but hopefully, it will give a clue as to how I need my SSRS date parameter to work.
    Hans Forbrich:
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    Solomon:
    It works. The problem is getting the parameter '3/3/2012' into a usable format for Oracle.
    Let's assume an application is sending in '3/3/2012' which will be used in an Oracle query (no PL/SQL allowed, nor can I create functions, stored procedures, etc - only straight up SQL). How can I prepare the parameter to successfully do the compare on the Oracle Date field?
    12:50:23 SQL> select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual;
    select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    12:51:00 SQL> ed
    Wrote file afiedt.buf
      1* select TO_DATE('03/03/2012', 'MM/DD/YYYY') from dual
    12:51:20 SQL> /
    TO_DATE('03/03/2012
    2012-03-03 00:00:00

  • Using 'Calendar' control type in prompt - not available

    Hi All,
    I am trying to setup a simple from and to date prompt that can be used in my reports to set the to and from date range for filtering the fact data that is returned. Following a number of blogs and articles on this it seems pretty straightforward. I have setup two static presentation variables on the rpd (startdate and enddate respectively) and I have started to create the prompt in answers that will be used by a number of different reports.
    My issue is that, all the articles I have seen indicate the use of the 'Calendar' control type when setting up the prompt. I however only have the following control type options for the prompt *(Edit Box, Drop Down List, Multi-Select)*. I do not see Calendar. Does this need to be initialized in any way to make it available .. ie move the calendar.js file somewhere so I can use the calendar control?
    example instructions: http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    Thanks,
    K

    Figured it out. The fields I was using in the prompts were character fields representing dates 'YYYY-MM-DD'. In order for the Calendar control option to become visible the fields selected as part of the prompts need to be of date or timestamp data type.
    Thanks,
    K
    Edited by: user_K on Apr 20, 2010 12:47 PM

  • Controlling data access at universe level

    Hi,
    I had a doubt in universe regarding the implementation of security.
    Existing process: We had a portal called flex (intranet site)which the BO report has been integrated and  for opening the report the name of report was clicked (hyperlink) 
    This report should show the data specific to the user profile logged into the portal.
    Now if we want to restrict the data at universe level for each individual users accessing the report in portal our idea is to create a dervied table (which contains a list of userid's and project id's)in universe so that who ever logged into the portal and clicks on report he will see the data only related to profile
    For example: The scenario would be a manager residing in a region need to see the list of projects which he is assigned to but not all of them.
    Could you please let me know how can implement at universe. Kindly let me know if you need any futher information.
    Thanks,
    Eswar

    Another way to do this is: (a) in your universe create a table that has a list of user names a long with their BOUSER id; (b) associate that list with fact tables or d imensions in the database, either using joins or by using a where clause as a filter or in an object definition using the syntax @variable(bouser); below is an exerpt from BO Designer guide.
    Example:
    @Variable
    In the universe for a human resources database, you have an object called
    Employee name. You want to restrict the returned data for Employee name
    to the values authorized in the database for each user. This would allow
    you to control what employee information each user is allowed to see. This
    information is defined by their database profile.
    You insert the @Variable function in the WHERE clause as follows:
    Employees.Employee_Name = @Variable('BOUSER')
    When the object Employee name is used in a query, the data is returned

  • SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS reports are always best viewed in IE and the report result what you see in IE always will not be same and consistent in thirdy party browswers.
    So consider using IE as workaround.
    Also please refer:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2188de10-cff9-4e24-b14f-da5121f1c4a4/ssrs-calender-control-not-visible-in-chorme-on-server?forum=sqlreportingservices
    Workaround here:
    http://www.rajbandi.net/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome/
    -Vaibhav Chaudhari

  • How to set a pop up calendar control in pdf  form using javascript?

    I'd like to add a pop up calendar control in a PDF form using Adobe Javascript.
    The user should be able to select a date from the calendar control.
    Awaiting a solution at  the earliest.

    Let's say I did provide you with a solution... Wouldn't that be a "third-party solution" as well?
    These tools are not compiled, you know. You have direct access to their source-code and can make sure they don't do anything else beside what they're supposed to do.

  • What is the best practice for using the Calendar control with the Dispatcher?

    It seems as if the Dispatcher is restricting access to the Query Builder (/bin/querybuilder.json) as a best practice regarding security.  However, the Calendar relies on this endpoint to build the events for the calendar.  On Author / Publish this works fine but once we place the Dispatcher in front, the Calendar no longer works.  We've noticed the same behavior on the Geometrixx site.
    What is the best practice for using the Calendar control with Dispatcher?
    Thanks in advance.
    Scott

    Not sure what exactly you are asking but Muse handles the different orientations nicely without having to do anything.
    Example: http://www.cariboowoodshop.com/wood-shop.html

  • How to restrict PO delivery date to weekdays?

    Hi All,
      My factory calendar has all days (Including Week ends & public holidays ) as working days. In this case, some of my vendors prefer not to deliver on the week ends & public holidays. In the MRP run, system calculates PO delivery date using calendar days and it sometimes falls on weekends & public holidays.
      I'd like to know how can i restrict PO delivery date for certain materials to fall ONLY on WEEK DAYS.Your help on this is highly appreciated.
    Thanks in advance.
    Rgeards,
    Faizul

    Please go to
    Goto Spro
    Materials Management -> Purchasing -> Environment Data -> Define Attributes of System Messages
    Goto System massage and select
    There are messages related to your requirement.
    exact message number i do not know , but you an search

  • Control data is obsolete, rerecord (VERBS-NAME: CreateObject CATT

    Hello experts,
    To create factory calendar holiday(t-code SCAL), I use t-code secatt for the purpose.
    But when running the test configuration script, I face the following error
    Error in eCATT command TCD SCAL
    Message no. ECATT507
    Control data is obsolete, rerecord (VERBS-NAME: CreateObject CATT: <none> Callno: 000001)
    Message no. TT377
    I use a tab separated text file with numbering of records.
    I read on this forum some topics about the error but it doesn't solve the issue.
    Please suggest what should be done to avoid this error
    Thanks in advance for your reply.

    thanks AP for your reply.
    I have deleted and  I have recreated the file with new recording but the error still ramains.
    Can anybody assist to solve the issue ?
    Thanks in advance.

Maybe you are looking for

  • Cinema display won't come back from sleep

    I have two apple displays - a 17" studio and a 20" cinema - hooked up to my 1.6 G5 (Tiger, all the updates). Several months ago the 20" started staying black after sleep. I worked around the problem by adding the "detect display" thingy to my menu ba

  • Update was terminated in VF02.

    I have added two segments to the Invoice idoc INVOIC02 . In the user exit EXIT_SAPLVEDF_002 , inside Include ZXEDFU02 , i have another include by name include yxedfu02_us. inside this I have added the code to populate the two added segments for E1EDK

  • Radius certificate problems...

    Hello, I am using AirPort Extreme's with Radius configured in Mac OS X Server 10.6. Authenticating works, but only with a certificate error on the clients. So I purchased a certificate and installed it (including the intermediate certificate in the S

  • Microsoft Cursor engine error 80004005 Data provider or other...

    I'm using Oracle 9i and ASP. And it works fine except for a query that returns like more than 6000 records and I get this error: Microsoft Cursor engine error 80004005 Data provider or other service returned an E_FAIL status /Includes/ValidaUsr.asp,

  • Possible Image Functionality - Useful?

    It has been brought to my attention that there is an option in the forums that we can enable that will allow image attachments to be immediately rendered as images.  Previously, we did not use this option because it would then try to render all attac