Discoverer parameter issue

I need to use the same pair of parameters for a query composed by "union all" with three independent queries.
Consider the following example:
create table docs(supplier varchar2(20), doc_date date, doc_num varchar2(10), amount number);
insert into docs values ('Alfonso', sysdate-3, 'doc00001', 100);
insert into docs values ('Alfonso', sysdate-3, 'doc00002', 20);
insert into docs values ('Alfonso', sysdate-2, 'doc00003', 50);
insert into docs values ('Alfonso', sysdate-2, 'doc00004', 10);
insert into docs values ('Alfonso', sysdate-1, 'doc00005', 80);
insert into docs values ('Alfonso', sysdate-1, 'doc00006', 20);
insert into docs values ('Alfonso', sysdate, 'doc00007', 40);
insert into docs values ('Alfonso', sysdate, 'doc00008', 50);
commit;
with calendar as (select (sysdate-3) date_from, (sysdate-1) date_to from dual)
select d.supplier, max(trunc(c.date_from)) doc_date, max('suma al '||c.date_from) document, sum(d.amount) amount
from docs d, calendar c
where d.doc_date <= c.date_from group by d.supplier
union all
select d.supplier, trunc(d.doc_date), d.doc_num, d.amount
from docs d, calendar c
where d.doc_date between c.date_from and c.date_to
union all
select d.supplier, max(trunc(c.date_to)), max('suma al '||c.date_to), sum(d.amount)
from docs d, calendar c
where d.doc_date <= c.date_to group by d.supplier;
SUPPLIER DOC_DATE DOCUMENT AMOUNT
Alfonso 15/12/09 suma al 15/12/09 120
Alfonso 16/12/09 doc00003 50
Alfonso 16/12/09 doc00004 10
Alfonso 17/12/09 doc00005 80
Alfonso 17/12/09 doc00006 20
Alfonso 17/12/09 suma al 17/12/09 280
In the example, I use the static values (sysdate-3) and (sysdate-1)... these values were that I want to pass to Discoverer
But in Discoverer, I only can use a parameter with conditions (i.e. the where clause) in a folder
Any ideas ?
Thanks in advance
Alfonso

Hi,
Yes, the query should have a group by as shown below. Of course, you never enter a group by when you are setting up a query in a Discoverer workbook, you just add the supplier, create the calculations and condition, and add the sort order.
select supplier, max(least(:date_to, doc_date)),
max(case when doc_num 'summary' and doc_date <= :date_from then 'suma al '||:date_from
when doc_num <> 'summary' and doc_date <= :date_to doc_num
when doc_num = 'summary' then 'suma al '||:date_to
end),
sum(amount)
from supplier_folder
group by supplier
where doc_date <= :date_to
order by max(least(:date_to, doc_date))
You don't need to do the summation in the view, you can do it all in the workbook as shown above. The view/custom folder only needs to return all the records you need in the workbook, it doesn't need any group by, so it can just union all the records together as shown in my first query. You can do the summing in the workbook after the parameters have been applied, therefore the view does not need to contain any parameters or any group by.
If you really do want to put parameters in a view then you need to use session parameters, implemented by using database contexts. See the LearnDiscoverer blog for more details.
Rod West

Similar Messages

  • Discoverer Parameter : ICX: Discoverer Parameters

    Hi Experts,
    ICX: Discoverer Parameters profile option : is pointing to the EBS URL and is set as exitURL : *****
    In the MOS : its is gives as : ICX: DISCOVERER PARAMETERS (ICX_DISCOVERER_PARAMETERS)
    at the site, user or responsibility level and it will be added automatically to
    the URL when an E-Business Intelligence (BIS/EDW) analysis workbook is called .
    But i did not understand that ,
    And i open the URL gives under this profile option and it is directing to Oracle apps Homepage but it saying as Discoverer Parameter.
    Can someone please give me some more information on it why this profile option is pointing to EBS URL.
    I am using EBS : 11510
    Thanks In Advance

    Please see these docs.
    Using Discoverer 11.1.1 with Oracle E-Business Suite Release 11i [ID 1073963.1]
    Using Discoverer 10.1.2 with Oracle E-Business Suite 11i [ID 313418.1]
    How To Redirect Exit Button On Discoverer Pages To The Home Page Instead Of Login Page? [ID 1129933.1]
    How To Redirect From Exit Link Of Discoverer Plus Or Viewer To EBS Home Page [ID 1458342.1]
    Thanks,
    Hussein

  • Win8.1 Pro & Flash Player 11.9.900.117 "base" parameter issue

    While "streamlining" some code for a web site, I just discovered that my solution doesn't work on my 2 Win8.1 PCs, but works in Vista 32-bit and Win7 64-bit machines. I've tested it in IE, Firefox and Chrome. (By "doesn't work", I mean I get an empty block where the Flash Player frame is supposed to be. Right-clicking on the area brings up the Flash settings menu.)
    The change I made was to have all web pages in the "root" directory of the web site, and the videos (.swf and .flv files) in the "video" directory. Previously, the web pages that ran the videos were in the "video" directory. (This still works on the Win8.1 PCs.) I added the "base" parameter to the code (shown below) to direct the Flash Player to the "video" directory.
    I've been poring through the Adobe site and various forums (fora ?) looking for a clue, but came up empty. Can anyone shed some light on the issue?
    If you want to see the site, goto http://theolivebranchforchildren.org to see the current version,
    and go to http://theolivebranchforchildren.org/index.php to see my revamped version.
    Go to the Gallery page and click on any of the video links in the sidebar. (The example shown below is for the "Aids Testing" option [aids.flv video file].)
    This is the code (as copied from the "view Source" option of the browsers - all identical) that runs in Vista and Win7 but not in Win8.1 ...
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="502" height="322" id="FLVPlayer">
    <param name="base" value="video" />
    <param name="movie" value="video/FLVPlayer_Progressive.swf" />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars" value="&MM_ComponentVersion=1&base=video&skinName=Halo_Skin_3&streamName=aids&autoPlay=true&autoRewind=false" />
    <embed src="video/FLVPlayer_Progressive.swf"
    flashvars="&MM_ComponentVersion=1&base=video&skinName=Halo_Skin_3&streamName=aids&autoPlay=true&autoRewind=false"
    quality="high" scale="noscale" width="502" height="322" name="FLVPlayer" salign="LT"
    type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    FOLLOW-UP 10/21/2013 -- I almost got around the problem by creating soft links in the web site's root directory to the files in the video directory. This is an ugly workaround, but suggests that the "base" parameter is being totally ignored in the Win8.1 implementation of Flash Player by Firefox & Chrome, both of which can now play the videos. It still doesn't work in IE11, though.
    ... AL
    Please visit http://www.theolivebranchforchildren.org/ to see a miracle developing.

    The "base" parameter issue, as I described it above, has "gone away" silently. Now I can play the movies via Flash Player in IE11, FireFox, Chrome and Safari on my two Win8.1pro laptops.  IE11 was the last holdout -- I had to turn off the PopUp Disabler in the IE settings to let the Flash Player play.
    I'm a happy camper now.
    ... AL

  • Discoverer Viewer Issue - IE7 - Parameter Popup Fails (Oracle JS issue?)

    OracleBI Discoverer Version 10.1.2.55.26
    I have created a report that has several parameters, each of which can be entered directly or by clicking a button to bring up a parameter selection popup. Each parameter popup displays an associated LOV.
    This works great in Discoverer Plus. It also works well in the HTML-based Discoverer Viewer using IE6. It does not, however, work in IE7.
    What happens:
    When using IE7 with Discoverer Viewer, I access a report with parameters and then click on the "flashlight" icon to the right of a parameter field to bring up the parameter popup. IE7 then:
    - Changes the cursor to an hourglass
    - Displays the following in the status bar: "Done, but with errors on page."
    - Stops doing anything else, leaving the cursor as an hourglass
    - Popup never shows up
    I assume that the cursor is stuck as an hourglass since the flashlight button must have a JavaScript "onClick" handler that executes a function to change the cursor prior to opening the new child window with the parameter LOV...and the cursor gets stuck when the JavaScript routine encounters an error. The cursor isn't my issue, but it is also annoying since my users will assume that the browser is doing something...and it is not.
    Regardless, if you click the status bar message, it displays the following JavaScript error:
    Line: 3609
    Char: 1
    Error: Object doesn't support this property or method
    Code: 0
    Oddly enough, if you then ignore the situation and click the "Go" button to run the report (using the cursor stuck as an hourglass), the report runs and as soon as it completes, the popup for the parameter THEN appears.
    As I said, the issue is with IE7 only. It works fine in IE6...and I don't have the popup blocker enabled in IE7.
    Any ideas? Thanks!
    Steve

    Hi
    Yes' you're right, the compatibility is for IE8 to IE7 and it does work very well - which I know is a red herring.
    I'll keep looking through my notes.
    From all of my notes, IE7 is supposed to work just fine with 10.1.2.3 (your version). I've been using IE7 for quote some time and I've never seen a JS error coming up in Viewer - Plus yes and many times.
    Some things I would try at this stage are:
    1. Delete your Java cache
    2. Make sure no popups are blocked
    3. Make sure cookies are enabled
    4. Try Mozilla and see if you get the same issue - will indicate if a machine issue or browser issue
    Best wishes
    Michael
    Edited by: [email protected] on Sep 13, 2010 3:54 PM

  • SSRS : Reporting Services - Multi-Value Parameter Issue

    Hi,
    This problem is been around the blogs and forums for while now but may be it's not answered to the fullest. I couldn't get any satisfactory or completed solution on the issue so far, any clues/help will be highly appreciated.
    My scenario is very simple :-
    I am using SQL Server 2005 and SSRS. I need to develop a report which has a parameter value called Customer Name. The users should be able to select multiple customers from the list and sometimes Select All also.  I tried the following :-
    Created two data sets : Second dataset is just to populate the Customer Name
    Created a Report Parameter and mapped with the query parameter where it says  "Where CName in (@Parameter1)"
    Nothing seems to be working although I tried to apply all the existing half-way solutions currently available in the forums. May be I am not getting to the right solution.
    Here is what's happening :-
    When used '?' like "where CName = ?" then it's working fine for the single value. {Multi value query cannot be used with ?}
    But for multiple values when used @Parameter1 like "where CName in (@Parameter1)" it's giving the following error
    Cannot add multi value query parameter '@Parameter1' for data set 'Dataset1' because it is not supported by the data extension.
    However if commented this line it's pulling all the values whether or not selected from the parameter list.
    This is the basic thing which I was not able to get the desired result, in addition I was looking to get the Customer Name parameter selected with a partial entry as we use LIKE. Example :- If the user enters 'St' in the text box the list should show all the names starting from those two letters
    Starter
    Steve
    Steven
    Stevenson etc.
    I am not sure whether I'll will be able to get to this extent or not but until the multi value parameter, I am desperate to get the solution. So any sort of help/advise is highly appreciated.
    Regards,

    Hi,
    This problem is been around the blogs and forums for while now but may be it's not answered to the fullest. I couldn't get any satisfactory or completed solution on the issue so far, any clues/help will be highly appreciated.
    My scenario is very simple :-
    I am using SQL Server 2005 and SSRS. I need to develop a report which has a parameter value called Customer Name. The users should be able to select multiple customers from the list and sometimes Select All also.  I tried the following :-
    Created two data sets : Second dataset is just to populate the Customer Name
    Created a Report Parameter and mapped with the query parameter where it says  "Where CName in (@Parameter1)"
    Nothing seems to be working although I tried to apply all the existing half-way solutions currently available in the forums. May be I am not getting to the right solution.
    Here is what's happening :-
    When used '?' like "where CName = ?" then it's working fine for the single value. {Multi value query cannot be used with ?}
    But for multiple values when used @Parameter1 like "where CName in (@Parameter1)" it's giving the following error
    Cannot add multi value query parameter '@Parameter1' for data set 'Dataset1' because it is not supported by the data extension.
    However if commented this line it's pulling all the values whether or not selected from the parameter list.
    This is the basic thing which I was not able to get the desired result, in addition I was looking to get the Customer Name parameter selected with a partial entry as we use LIKE. Example :- If the user enters 'St' in the text box the list should show all the names starting from those two letters
    Starter
    Steve
    Steven
    Stevenson etc.
    I am not sure whether I'll will be able to get to this extent or not but until the multi value parameter, I am desperate to get the solution. So any sort of help/advise is highly appreciated.
    Regards,
    you speak spanish

  • Discoverer Desktop Issues 10.1.2

    Hi,
    I am using Discoverer Admin and Desktop both of Verions 10.1.2
    I have no issue with Admin; I could do successfully all the work here.
    In Desktop i have login successfully as Application user; and created simple Order Report workbook (Order_Report.DIS) and saved it.
    Again when i login as application user in desktop; When i try to open my existing workbook (Order_Report.DIS); It will prompt me
    Do you want to run the query for the sheet Ord_report; Yes/No; If i select option as Yes i am getting error mesg as Failed to connect to database; If i choose No I will get empty sheet; In either case I will see empty sheet appears; From the Tool Bar if i select Sheet --> Refersh Sheet; I am able to see records in my sheet.
    When i continue working on this sheet; All of sudden i get error screen as Oracle Discoverer Desktop has encountered a problem and needs to close
    Basically i have two problems in desktop
    1. When I open workbook i get error as Failed to connect to database
    2. All of sudden i get vague error as Oracle Discoverer Desktop has encountered a problem and needs to close
    I would appreicate if some one can help on this.
    Thanks!!
    Uday

    Hi,
    I have the same issue with Discoverer Plus 10g Rel 1 (10.2.0.2 )
    Desktop and Administrator are working good. So, I cannot resolve it by re-installation.
    Also, this is not reproducible. Sometimes it works very smoothly, but sometimes it gives error for the same report.
    Any idea ?
    Thanks!
    Yogini

  • Report Parameter issue

    Hi All
    I have an rdf report version 10g , registered in oralce apps 11i .I have one parameter for the report.
    When i pass the value for this parameter from SRS window , report is not giving output.
    But when i pass it as null it return the value.Its a character type parameter.I have checked token also in oracle concurrent program definition, and its fine.
    Also when i run the report using report bulder its running fine in both cases.
    Any suggestion what causing the paramter issue.
    Thanks

    earlier report version is 6i , i simply opened it in report builder 10g and compiled it, i hope it did'nt caused any issue.
    Thanks
    Vikas

  • SSRS parameter issue.

    I am trying to build report with a multiple parameters have 10 parameters.
    in the below parameters client id is using shared dataset and it is not depending on any of the parameters but still its not populating to select values. the SP using in this shared data source
    Can any one please help me with this issue
    hemanth

    Have you selected Available and Default values for the Client Id parameter?
    Whats does the query look like for the Dataset that is used to populate Client Id?

  • Crystal report parameter issue in SAP B1 8.8

    Hi Experts,
    We are facing following issue in Crystal report SAP B1 8.8 version
    Can not open crystal report without mentioning optional parameters.
    User is forced to mention all parameters
    User should allow to open crystal report by mentioning mandetory parameters
    if We set for the parameter value of field [Optional Prompt] to 'True' and then preview in SAP Business One, then although the dialogue is displayed,  click 'OK' without populating the parameter value, the report is run
    but in our case we are passing parameters through Stored Procedure and this option is block in report to do so.
    means that option available to make optional true / false is block and we are not able to do anything.
    Pls. provide solution
    Regards
    Kamlesh Vagal

    Julie.
    This change has already occurred?
    Thanks.

  • Multi value parameter issue.

    We are facing some issue in SSRS report, whilst running SSRS report  it shows as blank in the multi value parameter field when the <all> option is selected(character will be more than 20000). (Report server: MS windows server 2003 and 32 bit(GIRMSA3),
    server: MS windows server 2008 and 64 bit)
    Same is working in the  SSRS Server and Citrix servers both  are 32 bit , MS windows server 2003.
    1. What is the Maximum Number of Values allowed in a SSRS 2008 Text Parameter Dropdown ? Is it configurable  ?
    2. What is the Maximum of Length of Select Values in a Text Parameter Dropdown in SSRS 2005 ? Is it configurable  ?
    Thanks
    Vijay
    Thanks Rai

    Hi  Vijay,
    This is because of the following patch
    “MS11-100 .Net Framework Security Update (KB 2656355)”. Applying this update limits the maximum number of form keys, files and JSON members to 1000 in a request.
    Go to the reporting services installation folder.
    Go to the report server folder and make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the Configuration section:
       <appSettings>
                   <add key="aspnet:MaxHttpCollectionKeys" value="30000"/>
       </appSettings>
    Go to the Report Manager folder and again make a backup of the file “Web.config”. Once you have the backup, open the original file in notepad and add the following entry under the appSettings tag:
    < add key="aspnet:MaxHttpCollectionKeys" value="10000"/>
    Once you do the above steps, you should be able to run the report without any issue.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Dynamic Parameter Issue - Crystal XI

    I've been working in 9 and 10 for a couple of years, and have recently moved to 11 to create some reports for a client.  I have an issue with creating a dynamic parameter in Crystal 11 - it won't allow me to select dynamic (as in the radio button is grayed out).  I've searched through the options, created RDO and DAO connections to both the Access database and the Xtreme Sample database, all to no avail.  Any thoughts or suggestions?
    Thanks!
    Ian

    After searching, I stumbled across the answer in this document: [XI Features by Version|http://www.businessobjects.com/pdf/products/crystalreports/crxi_feat_ver_ed.pdf]
    It strikes me as a little odd, in the Comprehensive formating and Design Control section it lists "Parameter fields" as available for all versions, but in the Report Viewing and Interaction section it lists "Dynamic and Cascading Prompts" as available only in Developer and Pro ... it even identifies at the end of the document that "Dynamic and Cascading Prompts can be viewed, but cannot be designed in the Standard Edition".
    So, this begs the next question, if I create a report using parameters based on a database column in Crystal 10, then open it in Crystal XI, will the dynamic prompts work?  I may have to try...

  • Boolean Parameter issue in utl_url.escape

    Hello,
       I am trying to use below query with 2nd parameter as TRUE but I'm getting below error.
    select utl_url.escape(url => 'http://www.sample.com/ümlat.php&\^#q=name', escape_reserved_chars => TRUE) from dual;
    Error:
    [Error] Execution (16: 100): ORA-00904: "TRUE": invalid identifier
    I should pass the parameter as TRUE ( default is FALSE)
    Anyone can support me to over come from this issue.
    FYI - I tried by creating a user defined function and it is working fine but I want to use directly in SELECT statement than using function.

    This isn't an Oracle Text question, but I can probably answer it anyway.
    "TRUE" is a PL/SQL expression for a boolean datatype.  There is no boolean datatype in SQL. Therefore, it is not possible to directly call a PL/SQL procedure requiring a boolean parameter from a SQL select query.  You must wrap it in a procedure using only SQL datatypes, as you have suggested.

  • ******DataControl Drag and drop -method return parameter issue!!!******

    Hi,
    It is a basic DataControl question where I am facing some issues due to this.
    I have created the DataControl form java webservice and using that DC in my ADF application. When I drag and drop my Data Control RESULT in my UI and select some specific output structure (Table or form or etc), it is pop-up the window with all the return parameters where I can enter the lables and hitting OK button.
    While hitting OK button some times it is pop-up the next window where I can see the DataControl name on the top and the method input parameters list on the bottom of the window and I can enter the value for my input fields. But very few times I am getting this 2nd window popup. Not every time where after hit the OK button in the first window directly it is creating the table / form in the UI.
    But I need this 2nd window to be popup inorder to carry forward my input parameters binding across my application. Please help me why am I not getting that method input list sometimes. Or is there any other file I can edit and set the method input parameter binding?? This is really helpful to solve one of my major project issue. Help plzzzz...
    Thanks
    klogube

    Arun & Puthanampatti      
    Thanks for the help. Yes I did the same and now I could able to carry forward my input param values from first page to 2nd and 3rd pages where the first page holding method input parameters via DataControl and the 2nd and 3rd pages holding the DC method;s return params. Can you please let me know how to set the new value for the input parameter mapping from 2nd to 3rd page.
    *Ex: In first page have 2 input parameters values set to:(UserID1 = #{pageFlowScope.arg0} & UserID2 = #{pageFlowScope.arg1}). I am navigating to 2nd page where I am displaying the userSearch result it may be display more than 1 user. Now I am navigating to 3rd page by selecting any one of the user ID and want to display that selected user details in the 3rd page. Here I am using the same DataControl method result at 2nd and 3rd page.*
    *So I want to set the selected userId value to #{pageFlowScope.arg1} before I navigate to 3rd page. Please help me how to change/set the value to the #{pageFlowScope.arg1}. This will solve my major issue. Thanks in advance.*
    Thanks
    klogube

  • Crystal Report - Parameter issue (advanced dialog box)

    In our wpf .net application we view the crystal report, the report prompts for entering 2 parameter values i.e 2 dates and inturn these parameters will be used to generate the crystal report.
    The parameter panel on the left has a button (show advanced dialog box). This button should again invoke the same parameter prompt dialog box, so that the user can modify these parameters and the report can be regenerated.
    Issue is that when I click on the the button, this generates a null reference exception in the code. The call stack is -
    at CrystalDecisions.Windows.Forms.ParameterFieldInfo.get_isDCP()
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.ShowAdvancedDialog(ParameterUnit pu)
       at CrystalDecisions.Windows.Forms.InteractiveParameterPanel.pu_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.OnShowAvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterUnit.editControl_ShowAdvancedDialog(Object sender, EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.OnShowAdvancedDialog(EventArgs e)
       at CrystalDecisions.Windows.Forms.ParameterValueEditControl.btnShowAdvancedDialog_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Please note, I used the .net reflector to debug the crystal report dll , the isDCP method looks like -
    public bool isDCP
          get
            return (this.Attributes.Contains("IsDCP") && ((bool) this.Attributes["IsDCP"]));
    Looks like the attributes value is null.
    Please let me know your comments. Am I missing something while getting the report in the frontend.
    I use crystal reports 2008 sp 2 (also note that my gac contains different version of crystal reports (cannot remove them - tried it) , with windows server 2003. I use web service with proxy to get the report from the local server.
    Note I also tried to create sample application in which I specify the local path to reports source , this works. However when I tried to use webservice, i was getting soap exception.
    Please let me know how solve above issue

    So you found the Report Design forum, if you looked down one more you would have found the SDK forum, SDK stands for Software Development Kit if you did not know.
    Or did you not mention you get the same error when you run this report in CR Designer, if so then you were in the right forum.
    Try Service Pack 3 also
    Move to the SDK forums.

  • DateTime parameter issue with Stored Procedure CR XI

    Hello everyone.
    This error was touched on here previously but no answer provided.
    I am using Crystal Reports XI with SAP's BUSINESS ONE product. I have a report using a SQL Stored Procedure (SQL 2005). It has datetime parameters.
    The Stored Procedure (SP) works fine when executed from within the Management studio. I then created my report, connecting to the SP with an ODBC driver and all was great.
    But the add on being used for the report to be included in B1 requires OLE connectivity. No problem, all my reports (none of the others have SP's though), work fine with OLE.
    So I tried redirecting the report to use the OLE driver. But I get an error.
    I tried creating a new report with the SP using the OLE driver. Same message.
    I get the following:
    Query Engine Error: 'ADO Error Code: 0x80040e14
    Source: Microsoft SQL Native Client
    Description: Incorrect syntax near the keyword 'CONVERT'.
    SQL State: 42000
    Native Error: 156'
    My code does not include the word CONVERT anywhere.
    From what I can find on the web, this is supposedly an issue with the datetime parameter.  But despite a few people posting messages about this, I have yet to find the answer. None of the topics have had a reply that provides the fix.
    It seems to be something specific to OLE, since it works fine in ODBC. I am using SQL NATIVE CLIENT.
    Thanks in advance for any help.
    Mark

    Hi Alex. Thanks.
    One of my colleagues actually suggested a similar thing. He pointed out I should be using the MICROSOFT OLE DB PROVIDER FOR SQL SERVER (I had been doing so but somewhere along the line started using the Native driver).
    And yes, that worked like a charm.
    Thanks for your help.
    Mark

Maybe you are looking for

  • How can I get the function of dictation in my Mac 10.6.8 without buying dragon?

    I want to have the function of dictation in my Mac 10.6.8 Snow Leopard.  I read that if I upgrade to ML I can have it, but it will not allow some softwares to work. Dragon is too expensive, so any other ideas???  Thanks!!!

  • Final Cut Pro 10.1.3 - Choose another SAN location

    I have just upgraded to 10.1.3 and Final Cut Pro still cannot update ALL my projects and events that are in the Old Final Cut Projects and Events on my 2T My Passport external HD. I get a message that this location - My Passport - is not a valid and

  • Import stat.Warenummer in GTS 10.0

    Hello, we made an export from the ERP SAP of the material to upload stat.Warennumer in GTS inital. Where in GTS 10.0 can I upload the data file. Thanks for help. Regards Jörg

  • Flash CS5 Crash when editing preferences

    Does it happen to anyone else when you edit anything in the preferences window that Flash CS5 crashes? I've reinstalled the program as well.. any tips I can try?

  • Rendered effects don't hold on Restart CS4

    I opened a CS3 project in CS4 off an external hard drive. It came up fine but I had to rerender all files as expected and of course it generated all new peak files. But when I saved the project and later reopened it - all renders were gone - the red