Flash chart with dynamic sql query does not display

Hi,
In my schema SIVOA I have a lot of tables declared like this :
  CREATE TABLE "SIVOA"."EVV_xxxx"
   (     "CLEF_VAR" NUMBER(4,0),
     "DATE1" DATE,
     "VALEUR" NUMBER(16,8) Only the last part of the name changes "xxxx". For example E009, E019, etc....
I am making a chart page with report and want the user to select a name of a table and I will display using dynamic sql query, the table report and chart.
P184_ENAME is a select list returning the last part of the name of the table, fro example 'E009', 'E019', etc.
P8_CLEF_VAR is an item containing a value. This value is a key retrieved like this :SELECT CLEF_VAR
FROM SIVOA.SITE_ECHELLE
WHERE SITE = :P184_ENAMEI built a classic report using a sql dynamic function :DECLARE
x VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
|| UPPER(:p184_ename)
|| ' WHERE CLEF_VAR = :p8_clef_var' ;
RETURN (x);
END;:p8_clef_var is an itme containing the value '4544'.
This works perfectly fine !
When I use this sql fucytion into a flash chart it does not work. I get this message "No data found".
I do not understand why a the report get a result and not the chart !
But if i hard-code the number of the CLEF_VAR instead of fetching it from :p8_clef_var I get a nice chart ! Go figure !DECLARE
x VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL, DATE1, VALEUR FROM SIVOA.EVV_'
|| UPPER(:p184_ename)
|| ' WHERE CLEF_VAR = 4544 ' ;
RETURN (x);
I cannot stay with the key (CLEF_VAR) hard-coded unformtunately !
My question is how to get the chart displaying properly ??
Thank you for your kind answers.
Christian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Alex,
Using your request, with the classic report I get results (data), but I get the same message with the Flash chart : "No data found" ! I don't know how to investigate this. i tried many things but nothing works.
Christian
PS I tried this :
DECLARE
   X   VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL, DATE1, ROUND(VALEUR,2) FROM SIVOA.EVV_'
      || UPPER (:p184_ename) ||
      ' WHERE CLEF_VAR = '
      || :p8_clef_var ||
      ' AND DATE1 BETWEEN TO_DATE ('''
||:P8_DATE_DEBUT||''', ''DD/MM/YYYY HH24:MI'') AND TO_DATE ('''
||:P8_DATE_FIN||''', ''DD/MM/YYYY HH24:MI'')'
RETURN (X);
END; But it does not work either. I could find that the SLQ syntax generated is good becaus I put it into an item which display the return done by the pls/sql.
What is sttange also with the classic report is that if I do click on next or previous to see another rows, I get the message "No data found". If I try to export the report I get an excel file with "No data fouid".
Does anybody already tried my "need" here ? i find strange thant I should not be the firs one trying to get a report an tables which name would be "dynamic".
Tahnk you.
Edited by: Christian from France on Feb 13, 2009 3:05 AM

Similar Messages

  • SQL Query - The number of columns specified in "SQL Query" does not match t

    I am creating new UDM for tablespace alert, below is my query,however its failing with error
    SQL Query - The number of columns specified in "SQL Query" does not match the value specified in "SQL Query Output"
    I selected Metric type is number
    SQL Query Format : Two columns
    Query:
    SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2)
    used_pct FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    Any clues why i am getting error.

    SQL> SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2) used_pct
    2 FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    3 WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    4 AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    TABLESPACE_NAME USED_PCT
    MGMT_TABLESPACE .82
    SYSAUX 1.52
    UNDOTBS1 .32
    RMAN .02
    CORRUPT_TS 10.63
    USERS 0
    SYSTEM 2.26
    MGMT_ECM_DEPOT_TS .04
    MGMT_AD4J_TS 0

  • Take picture with iPhone but it does not display it

    I take pictures with iPhone but it does not display it

    Take a picture. Tap on the thumbnail at the bottom left (portrait) or bottom right (landscape) of the screen to display it and access the rest of the camera roll.  Why is everybody complicating this?

  • SSRS - Stored procedure with Dynamic SQL Query

    Am calling stored procedure in SSRS report.  I have used Dynamic SQL query in stored procedure as I don't know the column name and column count.  And I have used like below at end of the stored procedure "select * from ##temptable".
    As I have used dynamic column, am not able to create report with this stored procedure.  Can someone help me out to resolve this issue.
    It will be highly appreciated if I get help. 
    Thanks

    I have tried everything.  But nothing has worked out. 
    If I get solution for below issue, it would be highly appreciated.
    "An error occurred during local report processing.
    The definition of the repport 'Main Report' is invalid.
    The report defintion is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded.
    Thanks
    Hello,
    I would suggest you post the complete error message to us for further investigation, if you preview the report before you deploy you may get a more detailed error that will help diagnose the source of the problem.
    This issue is more related to SQL Server Reporting Services, it's more appropriate to discuss it in the forum below:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    Don't forget to elaborate your issue with more detail.
    For the manual column, it might be the calculated field in SSRS. Here is the article for your reference, please see:
    http://technet.microsoft.com/en-us/library/dd239322(v=sql.110).aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Insert PDF with Flash into another PDF and it does not display.

    When attempting to insert an Adobe Acrobat file with flash elements into another Adobe Acrobat file, the latter will not display the file on screen. Instead it shows this message "For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or later." Please help.

    Yes I would have thought so. Adobe Acrobat and Reader have the ability to view flash content items however this is not the case. I will explain step by step what I am doing. I have done this for years before and I have recently formatted my computer and had to reinstall the software.
    Here is a little background information:
    System:
    Windows 7 Professional 64bit
    AMD-FX 4100 Quad Core CPU
    8GB RAM
    250GB free on HDD
    Software Installed:
    Adobe Acrobat X Pro
    Adobe Reader XI
    Adobe Flash 17.0.0.134
    Microsoft Office Home and Business 2010
    Steps taken:
    Open Outlook
    Select a few messages
    Click on Convert to Adobe PDF
    Save the new file "toInsert.pdf"
    Open "main.pdf" file
    Click and drag "toInsert.pdf" file from desktop into the thumbnail area of the "main.pdf" file to insert.
    Attached Error. Please advise. Thank you.

  • Flash video with cuepoints and skin does not work

    Hi guys, i created a SWF file based on the template available
    here
    http://www.adobe.com/devnet/flash/articles/vidtemplate_mediapreso_04.html
    Basically the movie has navigation buttons on the left side
    of the video display to enable users to jump to predefined sections
    (topics) within the video. It also has the video controls under the
    video.
    I imported my video as well as the sample provided in the
    webpage above and the clip does not work in Presenter. I can see
    the skin but the buttons flash and we cannot see the video. I'm not
    a Flash or Presenter expert. Just wondering if anyone can help
    troubleshoot this. We would really like to embed a swf with
    navigation buttons into Presenter. is this possible? ideas
    appreciated.
    Thanks

    I'm sure someone will post a workaround for you (there are about 4 or 5 different workarounds people have posted at various times). But I wanted to thank you for your post. My experience as a very recent PC to Mac convert has been frustrating, mostly due to Keynote. When I first started using Keynote I was amazed at what it could do. I spent a lot of time working on a project (several days) only to spend another several days trying to figure out why it wouldn't Export. I finally logged onto the forums and see that people have been posting about this problem for MONTHS. It's been very frustrating to say the least and is a major flaw.
    Your note is the first indication I received that Apple is truly working on this issue. I feel for people who posted months ago waiting for an update every day. Like them, I sent a support email (not answered).Your note shows both hope and progress. Apple could really convert a lot of people if it got software like Keynote to work correctly. I'm still blown away by its power. But it's like owning a Ferrari with now wheels. It has a lot of power, but there's nothing you can do with it until you get wheels.
    Cheers!

  • SQL Query does not have all rows in ResultSet

    I am using JDK 1.4.2 and an MS Access 2000 database where I attempt to retrieve data and I get in the ResultSet a maximum of around 280 rows, but there are more that seem to be ignored. In Access I can see them using the same query.
    The Statement.getMaxRows() returns 0 and I do not understand why I do not get the other ones. The query is issued using Statement.executeQuery(String), but using execute() does not make a difference, There is just one ResultSet returned.
    I would appreciate your help.

    I had this same problem once because in my Java code I was connecting to our alpha database and when I was running the query manually I was connecting to our production database.
    The only other thing I can think of that might cause this is if on the 281st row there is something wrong with the row and maybe the SQLException isn't being processed? Can't really say without seeing your code, but if you don't have a printStackTrace() or some indicator when a SQLExcpetion is thrown it could be breaking without your knowing. If those aren't the problems maybe you could post your code.

  • Selection screen - search help with dynamic sql query

    hey ,
    is it possible to change the search help of the selection field ?
    when i create the range table i put a data element :
    create a range table that consists of this new data element
      LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE( I_TYPENAME = 'S_CARR_ID' ).
    can i control the search help via the the data element or by other methods ?
    i want that when the user press F4 the values that will show is the result of a sql query that i will write .
    is it possible ?
    thanks
    ASA.

    Hi,
    yes it is possible...
    This is my test code for say personal number select options...
    lt_range_table = wd_this->m_handler->create_range_table(
      i_typename = 'PERSNO' ).
    add a new field to the selection
      wd_this->m_handler->add_selection_field(
      i_id = 'PERSNO'
    I_VALUE_HELP_TYPE = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    I_VALUE_HELP_ID = 'ZHELP_WDA_PERNR'   "this is the custom search help we need to create
    I_NO_INTERVALS = abap_true
      it_result = lt_range_table
      i_read_only = read_only ).
    do the following:
    1) copy the std function module: F4IF_SHLP_EXIT....to ZF4IF_SHLP_EXIT_pernr (in my case i am testing for pernr so my fm
    name is like that....obviously it can be anything you want...under the recommended naming convention)
    2) look for "STEP SELECT"
    STEP SELECT    (Select values)
    3)write the code as follows:
    "NOTE: this is my testing code...but you can build your logic on it....
    IF CALLCONTROL-STEP = 'SELECT'.
    types: begin of zpri_listing,
    pernr type PERSNO,
    end of zfund_listing.
    DATA: lo_syuname TYPE sy-uname.
    data itab type standard table of Zpri_LISTING.
    data wa type zpri_listing.
        DATA : t_fields LIKE TABLE OF shlp_tab-fielddescr.
        DATA : w_fields LIKE LINE OF shlp_tab-fielddescr.
        DATA : l_fname TYPE dfies-lfieldname.
        IF lo_syuname <> sy-uname.  "means we were here before and ITAB is filled...fm retains its data values...unless refresh happens
    "this if condition make sure that we do not do this select all the time as long as the same user is logged in...
    "a user can press f4 many times...you might want to enhance this logic a little bit more for performance
          lo_syuname = sy-uname.
    ))))))))))))))HERE DO YOUR SELECT(((((((((((((((((((((
    select pernr from "sometable" into table itab.
        ENDIF.
        LOOP AT shlp_tab.
          LOOP AT shlp_tab-fielddescr INTO w_fields.
            l_fname = w_fields-fieldname.
            CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
              EXPORTING
                parameter               = w_fields-fieldname
              OFF_SOURCE              = 0
              LEN_SOURCE              = 0
              VALUE                   =
               fieldname               = l_fname
              TABLES
                shlp_tab                = shlp_tab
                record_tab              = record_tab
                source_tab              =  itab
              CHANGING
                shlp                    = shlp
                callcontrol             = callcontrol
             EXCEPTIONS
               parameter_unknown       = 1
               OTHERS                  = 2
          ENDLOOP.
        ENDLOOP.
        IF sy-subrc EQ 0.
          callcontrol-step = 'DISP'.
        ELSE.
          callcontrol-step = 'EXIT'.
        ENDIF.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    4) save and activate this function module...
    5) go to se11 and create "Elementary srch hlp"....
    6) fill out all the necessary fields...i am assuming that you already know how to create the search helps...
    look for this field: "Search help exit" and put your function name which you created in the above steps...
    in this example i have: ZF4IF_SHLP_EXIT_pernr....
    7) create and activate the search help....
    hope this helps...i just tested this and it is working for me....
    Thanks..
    AS...

  • Workbook with changed query does not display the changes...

    Hi,
    I have a problem with a workbook with one query in - the query has been changed, but the new added keyfigures are not displayed in the existing WB.
    I know from Bex 3.5 there is the option on WB settings "return to global definitions" - I miss this functionality in BI 7.0.
    My installed sap gui is version 710
    Please let me know where I can switch on this feature...
    regards
    chris

    If you use "Return to Global Definition on refresh" option, all the users would have to have it turned on in their workbooks. In that case won't they lose any settings/navigation the user did, specific to their need. All the workbooks end up being the same in that case.
    We are still running on 30B and starting the upgrade to BI70. We just went through training on the new BEx analyzer, and I have to agree with you that some of the useful features of BEx 3X will be missed. Specially in the area of Workbook support, things like Copy query, insert query etc are missing as well.
    Thanks
    Vineet

  • The new version of Adobe Flash Player 11.5.502.110 does not display images in the flash movie.

    In the new version  of Adobe Flash Player 11.5.502.110 the images are not displayed. In previous versions they are displayed. Tested on several computers. This is not a local problem. This is a problem of Adobe. The bad news is that the early versions are very hard to find and reinstall it.
    Many different systems tested. And all browsers.
    Now there is no big image.
    Example:
    http://www.deluxedecor.ru/blog/dvorec_san_susi_letnjaja_rezidencija_fridrikha_velikogo_rok oko/2012-11-01-12
    http://www.deluxedecor.ru/index/kollekcija_lepniny_barokko_ehrmitazh/0-45
    http://www.deluxedecor.ru/index/karnizy/0-12
    and many others.....

    hi i have noticed the same problem. also with Chrome and FP ver 11.5.31.2and Firefox and Safari with FP 11.5.502.110
    it seems that MovieClipLoader class not returning onLoadInit event. I use to add a fadein function on loadInit to fade in the loaded images. with the latest Flash PLayer versions this is not activated so you cannot see the loaded images.
    I have tested this on 3 different systems and the problem is the same. I have not updated my FP for IE. There, the older FP still works well.
    test systems
    Mac OS LionSafari and FP 11.5.502.110 --- DOES NOT WORK WELL
    Windows 7 64 bit
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL
    Firefox 16.02 with FP 11.5.502.110  - DOES NOT WORK WELL
    IE 9 with FP version 11.4.402.287  - WORKS
    Windows XP SP3
    Firefox 16.02 with FP 11.5.502.110 - DOES NOT WORK WELL
    IE 8 wth FP 11.4.402.287  - WORKS
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL

  • SQL query does not give me correct search results

    I have the code below for a search box with some fields input into the query.
    I want to be able to select all and only give results for a match of all the selected results.
    I know I have to use AND in the query.
    But it is giving me other cars in the results.
    So if I choose Alfa Romeo a BMW will be listed in the results too.
    $query = array();
    if(!empty($_GET[c]))
        $query[] = "cars_listings.CategoryID = '$_GET[c]' ";
    if(!empty($_GET[AgentID]))
        $query[] = "cars_listings.AgentID = '$_GET[AgentID]' ";
    if(!empty($_GET[search_country]))
        $query[] = "cars_agents.country = '$_GET[search_country]' ";
    if(!empty($_GET[search_state]))
        $query[] = "cars_agents.state = '$_GET[search_state]' ";
    if(!empty($_GET[search_city]))
        $query[] = "cars_agents.city = '$_GET[search_city]' ";
    //if(!empty($_GET[postcode]))
    //    $query[] = "cars_agents.postcode = '$_GET[postcode]' ";
    if(!empty($_GET[min]))
        $query[] = "cars_listings.price >= '$_GET[min]' ";
    if(!empty($_GET[max]))
        $query[] = "cars_listings.price <= '$_GET[max]' ";
    if(!empty($_GET[year1]))
        $query[] = "cars_listings.VehicleYear >= '$_GET[year1]' ";
    if(!empty($_GET[year2]))
        $query[] = "cars_listings.VehicleYear <= '$_GET[year2]' ";
    if(!empty($_GET[before]))
        $MyDate = strtotime("-$_GET[before]");
        $query[] = "cars_listings.DateAdded >= '$MyDate' ";
    if(!empty($_GET[cars]))
        $query[] = "cars_listings.VehicleMake <= '$_GET[cars]' ";
    if(!empty($query))
        $MyQuery = implode(" and ", $query);
        $MyQuery = " and ".$MyQuery;
    //////////        order by
    $order = array(); 
    if(!empty($_GET[orderby]))
        $MyOrder = explode("|", $_GET[orderby]); 
        while(list(,$ov) = each($MyOrder))
            if($ov == "DateAdded")
                $order[] = " cars_listings.DateAdded desc ";
            if($ov == "Price")
                $order[] = " cars_listings.Price asc ";
            if($ov == "address")
                $order[] = " cars_agents.address asc ";
    else
        if(!empty($_GET[p]))
            $order[] = " cars_listings.Price asc ";
        if(!empty($_GET[r]))
            $order[] = " cars_listings.mileage asc ";
        if(!empty($_GET[vehicle]))
            $order[] = " cars_vehicle.VehicleName ";
    if(count($order) > '0')
        $MyOrder = implode(", ", $order); 
    if(empty($MyOrder))
        $MyOrder = " order by cars_agents.PriorityLevel desc, cars_listings.DateAdded desc";
    else
        $MyOrder = " order by cars_agents.PriorityLevel desc, $MyOrder, cars_listings.DateAdded desc";
    if(!empty($_GET[Start]))
        $Start = $_GET[Start];
    else
        $Start = '0';
    $ByPage = '20';
    $pcode = $_GET[postcode];
    $q1 = "select * from cars_listings, cars_agents, cars_priority, cars_vehicle where cars_listings.AgentID = cars_agents.AgentID and cars_agents.PriorityLevel = cars_priority.PriorityLevel and cars_agents.AccountStatus = 'active' and cars_listings.VehicleMake = cars_vehicle.VehicleID $MyQuery $MyOrder limit $Start, $ByPage "; 
    I hope that is clear to you.
    This code was given to me by my client to amend with a postcode function.
    Problem is the postcode database table always outputs 3miles

    SELECT * FROM LFBK
                     INTO TABLE <ITABL>
                     FOR ALL ENTRIES IN IT_TIBAN
                     WHERE BANKN EQ IT_TIBAN-BANKN.
    As the Data element of TIBAN-BANKN and LFBK-BANKN is different, i afraid FOR ALL ENTRIES will also not work.. any way try or else compare with other keys like....
    SELECT * FROM LFBK
                     INTO TABLE <ITABL>
                     FOR ALL ENTRIES IN IT_TIBAN
                     WHERE BANKS eq IT_TIBAN-BANKS
                     AND       BANKL eq IT_TIBAN-BANKL
                     AND       BKNOT eq IT_TIBAN-BKNOT.
    If you list your requirement clear, then can help with create query with all tables...
    Thanks & Regards,
    SUJI.

  • Formula in Query does not display Results Rows

    All -
    I know that people have posted this same thread before but I've been unable to find an answer or the questions have not been resolved.
    I have created a simple query and the key figure columns are all formulae.  The calculations are all the same format:  KF1/KF2
    Where
    KF1 is an Amount kf with Local Currency as the unit (the dataset only contains GBP)
    And
    KF2 is a counter (the standard 1ROWCOUNT 'number of records' key figure).
    The calculations work fine in the rows but I cannot get any results in any Results rows or Overall Result.  Something is populated when I do not define anything in "Calculate Results As..." for the formulae, but this is not a summation, and when I select Summation or Total, the Results rows are blank.
    I have tried altering settings for the key figures in the admin workbench, I've tried recreating them as global Calculated Key Figures, and I've tried playing around with the settings on the Calculation tab, but nothing works.
    Please does someone have an answer to this??
    Thanks
    Mischa

    Hi,
    As follows -
         Cost (£)     # Records     Formula
    Ref1     500     2     250
    Ref2     300     1     300
    Ref3     900     3     300
    RESULT     1700     6     
    I have the Cost (£) key figure and the # Records Key figure.  These are both hidden. 
    The formula behind the Formula is simply Cost(£)/#Records.
    The characteristic used is not based on the most granular level hence the need for the calculation.
    Although the formula is working correctly on a row by row basis, the results rows are blank.
    As mentioned above, I have tried changing these to Calculated Key Figures, this has not worked.
    Thanks
    Mischa

  • Query does not display the code.

    Hi Experts,
    I created a query joining SKA1 and SKB1 with the following requirements:
    Query of the chart of accounts total for each company code with the following additional information:
    - reconciliation list: yes or no / for which sub-ledger (cutomer, accounts payable, assets or others)
    - binding on interim transaction: yes or no.
    I have successfully created a query but instead of displaying the code (for example AA01-company code) the name of the company was displayed.(example: ABS Company) this is also the same with other fields like the GL account, instead of displaying the numerical value, the text description was displayed even if I have selected the correct field assignment (SKB1-BUKRS).
    Your inputs are very much appreciated. thanks in advance!

    Hi,
    Are you creating this query under SQVI TCode?
    Because when i am doing the same thing... its working. i can see he company code coming up as AA01.
    SKB1-BUKRS is for Company code number... then how it can display Company code Description.
    Best Regards
    Guneetinder

  • ReportViewer control used with a remote report does not display any data.

    Hi there,
    I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
    and it needs to impersonate the caller's identity because the database uses Windows Authentication.
    Here is the code I use:
    var reportViewer = new ReportViewer();
    // Set Processing Mode
    reportViewer.ProcessingMode = ProcessingMode.Remote;
    // Set report server and report path
    reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
    reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
    // set the credentials
    reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
    // create report parameters and set them in the report
    var param1 = new ReportParameter("First_Param", "Some string");
    var param2 = new ReportParameter("Second_Param", "Some other string");
    reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
    using (var reportForm = new ReportForm(reportViewer))
    reportForm.ShowDialog();
    The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
    public ReportForm(ReportViewer reportViewer)
    InitializeComponent();
    try
    this.reportViewer = reportViewer;
    reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer.Dock = DockStyle.Fill;
    reportViewer.ZoomMode = ZoomMode.Percent;
    reportViewer.ZoomPercent = 100;
    reportViewer.RefreshReport();
    catch (Exception exception)
    MessageBox.Show(exception.Message);
    Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
    Any suggestions?
    TIA,
    Ed

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • I cannot post on Craigslist with Firefox, but can with explorer. Firefox does not display the random letter pattern to be typed in with each posting. What is the problem

    I used to be able to post with Craigslist

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

Maybe you are looking for

  • Can CLOUD data source be joined to a combined data source?

    Hi, experts,        I have created a cloud data source and I am trying to join the cloud data source with a combined data source.        I am having a problem.            This is how I joined the two data sources. I checked the Joined Data Source. It

  • MacBook Pro running very slowly - please see EtreCheck report

    My MacBook Pro (mid 2012 model) has become very slow and unresponsive recently. Pretty much any click or command I make there is a delay, and often the coloured spinning wheel appears for a few seconds until it executes the command. Very frustrating.

  • Strange Graphics issue on switching users after awaking from sleep

    As the title says... Here's the scenario: I logon to my MBP, do some work, then put it to sleep. My girlfriend comes along, and opens up the MBP. My logon details are presented to her, so she presses "Switch User". When she does this, the MBP goes re

  • Language Input Menu

    I have selected two languages in International Preferences, set up commad-spacebar keyboard shortcut, and made english the top language, yet I constantly find that the language had changed in the input menu without me selecting the change. I could on

  • Profile Completion Error Message

    My user name and password are excepted but it tells me that i have only 80% of profile completition (whatever that means) and i cant see my contacts. Subject/title edited for clarity.