Date Bug in Report Builder

Hi guys,
Problem / Bug
i have a very simple layout report on scott.emp table. i passes two parameters throught parameter form.
i have assigned the data type as well as the initial value.
Report paremeter form takes and on message shows a date which has not been mentioned / assigned any where. like (01/02/3021).
after parameter form having few conditions like if dates are blank then parameter P1 Gets first condition else it gets the second one.
but report builder runs the first condition each time what ever you do with it.
mean this is joke with a developer.
i have re-installed the developer6 no of times and also used tips from fellows to get the right results.
anyway i will appreciate if some body could resolve this problem.
Regards,
Kamal

Just a couple of things you could look at:
1) Is P1 null. In PL/SQL, equality comparisons against any null value will always return FALSE. You need to directly compare against null - "if (:p1 is not null)/if (:p1 is null)"
2) P1's format mask. If the input format mask is something like: 'YYYY' then the date will show up as '01-JUL-YYYY' regardless of the date you gave it (or subsequently set it to in the PL/SQL).

Similar Messages

  • Sharepoint 2013 RS - Adding a New "Data Source" or "Report Builder" in a Library

    I've installed SQL Server Reporting Services SharePoint Integration Mode. I also enabled SQL Reporting in the Library setting. But, When I click to open a new "Data Source" or "Report Builder" an error occurs:
    'New Document' requires a Microsoft
    SharePoint Foundation-compatible application and web browser. To add a document to this document library, click the 'Upload Document' button.
    SharePoint 2013 Enterprise
    SQL Server 2012 SP1 + RS add-in + PowePivot add-inn
    MS Office 2013 Professional Plus
    Internet Explorer 10
    I've also tried a hotfix pakage for office 2013 called: owssupp2013kb2726997fullfilex64glb
    Sharepoint Stssync Handler add-in infromation in Internet Explorer:
    Name:                   SharePoint Stssync Handler
    Publisher:              Microsoft Corporation
    Type:                   ActiveX Control
    Architecture:           32-bit and 64-bit
    Version:                15.0.4517.1001
    File date:              ‎Tuesday, ‎May ‎21, ‎2013, ‏‎12:57 PM
    Date last accessed:     ‎Today, ‎December ‎16, ‎2013, ‏‎36 minutes ago
    Class ID:               {BDEADEF5-C265-11D0-BCED-00A0C90AB50F}
    Use count:              6
    Block count:            0
    File:                   OWSSUPP.DLL
    Folder:                 C:\Program Files\Microsoft Office\Office15

    Hi,
    i had the same problem. First we figured out, that the Report Builder was working in the  Root Site Collection of a Web Application but not in any other Site Collection of the WebApplication.
    After that we took a look how the Report Builder is started. The Content Type got a Click Once Application as Template, but you can't open the URL in the Browser neither the referenced file can be found in the Feature folder on the SharePoint Server. Turns
    out SharePoint does some crazy http redirection and that this doesn't work on Site Collections which are not at the root. At least if you installed Reporting Services Add In Service Pack 1.
    Fun Fact: If you start the Report Builder on the Root Site Collection you can create a Report which works on any Site Collection. Its just the launch if the Report Builder which is broken.
    Our Solution was the SQL Server 2012 Service Pack 1 Cumulative Update 8 which fixed the Problem.
    You can request a download here: http://support.microsoft.com/kb/2917531
    Select the "2012_SP1_RSShrPnt_CU8_2917531_11_0_3401_x64" Fix and install it on every SharePoint Server in your Farm.

  • SP2013 RS - Adding a New "Data Source" or "Report Builder" in a Library

    I've installed SQL Server Reporting Services SharePoint Integration Mode. I also enabled SQL Reporting in the Library setting. But, When I click to open a new "Data Source" or "Report Builder" an error occurs:
    'New Document' requires a Microsoft
    SharePoint Foundation-compatible application and web browser. To add a document to this document library, click the 'Upload Document' button.
    SharePoint 2013 Enterprise
    SQL Server 2012 SP1 + RS add-in + PowePivot add-inn
    MS Office 2013 Professional Plus
    Internet Explorer 10
    I've also tried a hotfix pakage for office 2013 called: owssupp2013kb2726997fullfilex64glb
    Sharepoint Stssync Handler add-in infromation in Internet Explorer:
    Name:                   SharePoint Stssync Handler
    Publisher:              Microsoft Corporation
    Type:                   ActiveX Control
    Architecture:           32-bit and 64-bit
    Version:                15.0.4517.1001
    File date:              ‎Tuesday, ‎May ‎21, ‎2013, ‏‎12:57 PM
    Date last accessed:     ‎Today, ‎December ‎16, ‎2013, ‏‎36 minutes ago
    Class ID:               {BDEADEF5-C265-11D0-BCED-00A0C90AB50F}
    Use count:              6
    Block count:            0
    File:                   OWSSUPP.DLL
    Folder:                 C:\Program Files\Microsoft Office\Office15

    Hi Ali,
    According to the current description, the issue may occur because SQL Server 2012 Reporting Services add-in feature for SharePoint 2013 isn’t installed correctly.
    To resolve the issue, you need to reinstall add-in feature for SharePoint 2013.
    References:
    Install or Uninstall the Reporting Services Add-in for SharePoint
    Document Library - Enable New Document, Edit Document Features
    If the issue persists, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Error to open a data model in Report builder (Word)

    Dear all,
    Im troubles when i try to open a data model in Report Builder (Word). Someone know about this problem?
    The message is: A error has ocurred. Check the settings and try again.
    Any suggestion?
    Thanks for all!

    I've also got this error several times. Usually the reason is an error in the Publisher query (or data template). It's better to first test (view) that you get a proper xml-output in Publisher, and only after that try to create an rtf-template. If this doesn't work, I usually start from the beginning, and first make a very simple report, then try the template, and if it works, then gradually increase elements for the Publisher side. Sometimes I haven't got any idea why it didn't work at the first place, when it then works after beginning from the simple report.

  • How to achieve the from and to date range in report builder 3.

    I AM TRYING TO CREATE ONE REPORT FROM REPORT BUILDER 3.
    WHERE I AM UNABLE TO DEFINE THE DATE RANGE.
    HOW TO ACHIEVE THE DATE RANGE IN REPORT BUILDER.
    NEED FROM DATE AND TO DATE FILTER IN REPORT BUILDER FOR PK DATE.

    Hi Ganesh,
    According to your description, you create a report in Report Builder 3.0, and create two parameters FromDate and EndDate, now you want to use the parameters in your MDX query, right?
    If in this case, here is a sample query for your reference.
    select
    {[Measures].[Internet Sales Amount]
    } on columns,
    {[Date].[Date].members} on rows
    from(
    select
    STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
    ) on columns
    from [Adventure Works]
    Reference:STRTOMEMBER
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to pass a date parameter from report builder query designer to oracle database

    i'm using report builder 3.0 connected to oracle database. i'm trying to pass a date parameter in the query with no success, i don't
    know the exact syntax. I've tried :
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date('01/01/2014','mm/dd/yyyy')
    it worked perfectly.
    However if i try to put a date parameter "From" instead of 01/01/2014 it will not work, a Define Query Parameter popup window appear and error occurred after i fill
    the values (usually i shouldnt get this popup i should enter the value when i run the report)
    SELECT * FROM igeneral.GCL_CLAIMS where CREATED_BY IN (:CREATED_BY) AND CLAIM_YEAR IN(:UW_YEAR) AND (LOSS_DATE) >To_Date(:From,'mm/dd/yyyy')
    appreciate your assistance

    Hi Gorgo,
    According to your description, you have problem when in passing a parameter for running a Oracle Query. Right?
    Based on my knowledge, it use "&" as synax for parameter in Oracle, like we use "@" in SQL Server. In this scenario, maybe you can try '01/01/2014' when inputing in "From". We are not sure if there's any limitation for To_Date()
    function. For your self-testing, you can try the query in sqlplus/sql delveloper. Since your issue is related to Oracle query, we suggest you post this thread onto Oracle forum.
    Best Regards,
    Simon Hou

  • Unable to Connect to the Data Source with Report Builder when using a closed Excel file

    I am using Report Builder 3.0 and to get started I am using an Excel spreadsheet as my data source.  I set this up just fine.  I can connect successfully if the file is open Excel.  But if I close the file, I get the error "Unable to
    Connect to the data source".
    This is my connection string:
    Dsn=Licenses;dbq=C:\USERS\AMEADE\DOCUMENTS\licenses.xlsx;defaultdir=C:\USERS\AMEADE\DOCUMENTS;driverid=790;fil=excel 8.0;maxbuffersize=2048;pagetimeout=5
    Works fine if the file is open but stops working when the file is closed.  Any idea what I can do?

    Hi Alice,
    Based on my understanding, when you keep the Excel file open, you can connect to the data source correctly. But when you close the Excel file, the error “Unable to Connect to the data source” is thrown out.
    In your scenario, I would like to know if only this Excel comes across this issue. Have you experienced the same issue when you use other Excel files as a data source? As we tested in our environment, we can connect to the data source whether the Excel file
    is open. You can refer to this
    article to create a data source again then check if you can connect to the data source when the Excel file is closed.
    If issue persists, I would suggest you use the
    Process Monitor to capture the processes during the connection to the data source. Then check the result of each process to find the exact reason.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • "Unable to connect to data Source" SRSS Report building on a windows 7 workstation

    I have the is error when tring to up date my SRSS reports.  We recently had our dba reissue the Certificate for our SCCM SQL server and now when I export that certificate and load it in the Trusted Root of any Workstation or any store
    on the workstation - I still get the trusted root error??
       "The Certificate Chain was issued by an authority that is not trusted:"
      "A connection was successfully established wit the server.  but then an error occurred during the login process. (provider:  
      SSL Provider, error 0 - The certificate chain was issued by an authority that is not trusted.)" 
    I am using HTTP: for report server connections.
    I had no issues exporting the SQL Server Certificate in the past and importing to computers trusted Root store.  Now when I do this the error still appears and I can not edit my SRSS reports in SCCM.  The Primary SCCM 2012 Server is also the SQL
    server and SRSS reporting server in production.
    Where do I go from here?
    Help Please!
    Thank you
    Gary Pearson
    Gary AlexionIT

    On 07.09.2011 03:06, sjt4423 wrote:
    >
    > We currently have an NSS volume running on SLES 10 sp3 / OES2 SP2.
    > We have configured CIFS on the server.
    > Our workstations have an NCP client.
    > We have modified the login script to force a drive mapping via CIFS.
    > The drive mapping works perfectly on Windows XP.
    Most likely ntlm version issue, you need to change the registry on win7
    machines,
    http://www.novell.com/support/viewCo...5420&sliceId=1
    -sk

  • Bug in Report Builder

    We are facing a problem with Oracle Developer Report Builder
    6.0.5.28.0 . The Problem is as Follows.
    When we print a report from the previewer of a
    character mode report it is giving a GPF error and we are
    unable to print the
    Report but if the report is in Bitmap then it works
    properly. The same character mode report if printed as
    Detination
    'Printer' then it prints properly.
    When debugged using a VC++ Debugger we get the following
    error
    ' Unhandled Exception RWRBE60.EXE(CORE40.DLL) ;
    OXC0000005; Access Violation; and the system hangs.
    Because of this we a facing a delay in the Release of Our
    Product to our customers.
    Requesting you to the needful and send me details
    regarding this .
    Thanks and Regards
    Syam Shankar.K
    Datacons Pvt Ltd
    4-C, Chitrapur Bhavan,
    Malleswaram ,
    Bangalore -560055
    null

    Hi Mike,
    According to your description, I am not very clearly about you requirement. If possible, please send me the pictures to sqltnsp AT Microsoft.com (Please replace AT with @) or upload the files to skydrive.live.com and tell us your requirement based on
    the pictures, so that we can make further analysis.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Bugs in Report  builder/Graphics Builder

    Whenever i call Graphics Builder from report builder to make a graph it gives an error and do not make the graph. Would you tell me what is the problem ?
    Thank you.
    anis

    hello,
    without further information it is hard to tell, what the problem is. however, i would suggest you contact oracle support services.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                   

  • How to place a sign like '.'  in front of a data field in report builder ?

    Hello Everybody,
    In the presentation of datas in my report , I must list the sub-elemnst of a group by plcaing a ' *.* ' in front of each one. Like
    Persons
    *.* Jean Fontaine
    *.* François David
    *.* Serena Joyau
    How must I process to do it ?
    Helps.
    Regardly.

    Thanks Vikas.
    I do it as
    SELECT ALL '.' || V_PRESTATAIRE_MALADIE.NOMBENEF, V_PRESTATAIRE_MALADIE.ADREBENE,
    V_PRESTATAIRE_MALADIE.TELEBENE, V_PRESTATAIRE_MALADIE.LIBDETLI
    FROM V_PRESTATAIRE_MALADIE
    But in the field 'NOMBENEF' , more data does not appear. And too when I want to increase the lenght of the signal '.' or put it(the signal) in bold face , I have not possibility.
    There has not other mean do realize it ?

  • 3K limit Bug in Report builder?

    All,
    Created a report based on the following query
    select ''| |first_name| |' '| |last_name| |'' as login_name, first_name, last_name
    from portal30.wwsec_person$
    where created_on >= '01-APR-2001' and created_on <= sysdate
    When I go to edit it, the sql query defaults to
    select * from scott.emp
    My colleagues tell me of a 3K query string limit bug of WebDB, which caused the same problem.
    any ideas why this might be happening?
    Portal: 3.0.7.6.2
    RDBMS : 8.1.6.2
    Windows NT
    Thanks
    Sanjay

    Trying to show the query correctly
    select htp://dss2/pls/portal30/portal30.self_reg_portlet.show_user_request?p_username='&#0124; &#0124;user_name&#0124; &#0124;'>' &#0124; &#0124;first_name&#0124; &#0124;' '&#0124; &#0124;last_name&#0124; &#0124;'</a>' as login_name, first_name, last_name
    from portal30.wwsec_person$
    where created_on >= '01-APR-2001' and created_on <= sysdate
    Btw, I can customize the report, change the
    parameters, get an output etc. I cannot edit
    it however. I am logged in as the Portal30 user.

  • Possible Bug in Report Builder 3.0

    Doing a report to find sources of Fine and Coarse Aggregate, it was noted we were getting mismatches between suppliers of each.  Somehow, incorrect suppliers of each were being matched.  Looking further, we found that where there was one vendor
    with several concrete mix formulas, always the last one was selected.
    I have .png images but can't seem to upload them.
    I'll try submitting the question then uploading the images.
    Thanks,
    Mike
    Michael Durthaler
    Nope, can't upload images or at least can't upload png files.

    Hi Mike,
    According to your description, I am not very clearly about you requirement. If possible, please send me the pictures to sqltnsp AT Microsoft.com (Please replace AT with @) or upload the files to skydrive.live.com and tell us your requirement based on
    the pictures, so that we can make further analysis.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Margin Bug in CF8 Report Builder???

    Build: 193563
    When I set my left and right margins to .50 inches the generated report comes out with a .25 inch margin left and .75 inch right. After a couple of hours searching the web for a solution and playing with various combinations of margins, I changed my margins to .49 inch left and .51 inch right and the report is much closer to centered on the page.
    Is this in fact a bug in Report Builder CF801? Is there something I'm missing or should I look somewhere else for answers?

    This problem appears to be fixed in build 181436 of the
    Report Builder

  • WHERE Predicate line works in Aqua Data Studio, not in Report Builder

    I’m trying to get a query working in report builder which will pull data back when run in Aqua Data Studio. 
    It returns a NULL set when working with the same data source from report builder. 
    Here is the WHERE clause:
    --WHERE SYSDATE < :REM_DATE 
    -- troubleshooting line (=DateAdd("d", 3, Now()))
    WHERE SYSDATE
    < TO_DATE(TO_CHAR(TPOA.POST_DT,
    'MM/DD/YYYY'),
    'MM/DD/YYYY') +
    3
    AND TPOA.DEST_OTHER
    IS NOT NULL
    AND TPOA.AUTH_STATUS_IND =
    'A'
    The commented line works in Report Builder.  :REM_DATE has as its default expression =DateAdd(“d”, 3, Now()), used as a means of troubleshooting. 
    There isn’t a way to populate :REM_DATE before use because forward dependencies aren’t allowed.
    Also tried is this line for the first part of the WHERE:
    WHERE SYSDATE
    < TPOA.POST_DT + 3
    As well, it works in AD but not in RB.
    Here is the full query, which is the 2<sup>nd</sup> query in a UNION:
    SELECT DISTINCT
    TO_CHAR(TPOA.MATL_ASGN_DT,
    'MM/DD/YYYY')
    AS MATL_ASGN_DT
    ,TPOA.TE_24_NBR
    ,TPOA.POST_DT AS TE24_DATE
    ,SUBSTR(TPOA.DEST_PRODR_SUPP_CD,
    1, 5)
    AS DEST_PS_CD
    ,'N'
    AS DEST_PO_IND
    ,SUBSTR(TPOA.SRC_PRODR_SUPP_CD,
    1, 5)
    AS SRC_PS_CD
    ,SUBSTR(TPOA.SRC_PRODR_SUPP_CD,
    7, 2)
    AS SRC_PS_CD_SFX
    ,TPOA.LPA_IND
    ,SUBSTR(TPOA.DEST_PRODR_SUPP_CD,
    7, 2)
    AS DEST_PS_CD_SFX
    ,SUBSTR(TPOA.DEST_CONT_ALT_ID,
    1, 2)
    AS DEST_PROJ_YR
    ,SUBSTR(TPOA.DEST_CONT_ALT_ID,
    3, 4)
    AS DEST_PROJ_SEQ
    ,TPOA.DEST_OTHER
    ,TPS.PRODR_SUPP_NM AS ABBR_NAME
    ,'SM'
    AS FRM_IND
    FROM VWARE.T_POST_ASG TPOA
    LEFT OUTER JOIN SMDBA.T_PRODR_SUPP TPS
    ON TPOA.SRC_PRODR_SUPP_CD = TPS.PRODR_SUPP_CD
    --WHERE SYSDATE < :REM_DATE 
    -- troubleshooting line (=DateAdd("d", 3, Now()))
    WHERE SYSDATE
    < TO_DATE(TO_CHAR(TPOA.POST_DT,
    'MM/DD/YYYY'),
    'MM/DD/YYYY') +
    3
    AND TPOA.DEST_OTHER
    IS NOT NULL
    AND TPOA.AUTH_STATUS_IND =
    'A'
    Michael Durthaler

    Hi Michael,
    What's the version of your Report Builder? When you run the query in query designer of Report Builder, have you got any error/warning message?
    In this case, I would suggest you can try to SQL Server Profiler to capture some events do further investigation while run the query in Report Builder.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Movie Clips/buttons  HELP!!

    I have 4 movie clips on a stage that are supposed to act as buttons(About, Resume, Work, Contact) When I roll over one movie I want the movie to play and stay on the screen. When the user goes to the next button and clicks and releases I want the pre

  • Scheduling request set to run in conc manager

    Hi, I need to schedule a request set to run in conc manger once every three hours from Mon - Thurs from 4 am thro 6 p.m. I tried to pick schedule on specific days in the conc program submit form - it looks like it will run only once on specific days.

  • Termination Work bench

    Hi all, I am geting the error while execiting termination work bench for particular group of employee as Wage Type  is not valid for allowance grouping .How to rectify this error. Snita..

  • Java to XI

    I have written a small program in Java and I have complied it and created the CLASS file. This java program I am planning to use in the Message Mapping. Now if I want to bring this Java program into XI what are the steps I need to do. Please note, I

  • System.data.dataset Problem

    Hi All : I am writing the following to use Powershell to get SQL server information: Add-Type -Path 'C:\Windows\assembly\GAC_MSIL\Microsoft.SqlServer.Smo\11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.Smo.dll' $finalDataSet = New-Object System.Data.D