Content of the subreport is lost when applying a custom dataset

<p>Subreport displays correct data when I make a preview in Report Designer.</p><p> </p><p>When I substitute subreport&#39;s dataset by a custom one (exactly the same query, though) in runtime, the subreport becomes empty. </p><p> </p><p>What&#39;s the problem could be there?<br /></p>

More than likely, the problem is that the dataset is not matching the data types that the report is expecting. I suspect if you export the report to rpt file format, you will see that all the fields are stripped out - when you open that exported report in the designer. A cool way to check this out is to write out the dataset to XML as:
myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
Do the above just before you set the dataset to the report. Then open the report in the CR designer and use the ADO .NET XML driver (Database menu -> Set datasource location) to point at the xml you just created. If you get filed mapping dialog, that will tell you where the report is confused as to which field is which.
Ludek

Similar Messages

  • Subreport content is lost when applying a custom dataset

    <p>Hello everybody, </p><p>Linked subreport shows data properly in Report Designer preview mode. But if I apply a custom dataset to the subreport in runtime (the query text is exactly the same, though), the subreport becomes empty. What&#39;s the problem could be there? </p><p>Thanks in advance, Alexey</p>

    <p>Maybe the linking is breaking when you attach the dataset at runtime.  Does it work for a regular un-linked subreport? </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • I have a new hard drive on my imac  I want to sync my ipad(which has the files I lost when my old hard drive died), which holds the files I lost when my old hard drive died.  How can I sync my ipad with my new hard drive?

    My hard drive on my IMac died, so I have a new hard drive.  I want to sync my Ipad(which has the files I lost when my old hard drive died) back with my IMac. How can I sync my Ipad with my new IMac hard drive without erasing my legacy files on the Ipad at the same time?

    Copy everything from your backup copy of your cpomputer to your new hard drive.

  • The quality of the footage is lost when I use certain settings in Premiere Pro CS6

    Hello ,
       I filmed footage on a Canon XA10. They are MTS files and the codecs are 1440x 1080, frame rate 29.97, H264- MPEG- 4AVC, input nitrate 9854, and stream nitrate is 8971
    I need to submit them as application samples for a job. The job requires certain settings to be used.
    for HD 1080i  the application sample should be 960 x 540 @ 29.97
    they have other settings, like NTSC should be 320 x 243 @ 29.97
    With one file I filmed rain and in the original file it's clear and the quality it really good. I export using the settings H.264 and Apple TV, iPad, iPhone 4 or newer - 960 x 540 29.97
    under basic video settings is
        width 960
        height 540
    frame rate 29.97
    After exporting it the .mp4 file came out pixelated and the image quality is much lower.
    I had another problem with a file shot with the same camera and the same codecs  (MTS files and the codecs are 1440x 1080, frame rate 29.97 ect.)
    It was footage that I had to speed up, after exporting it came out shaky. When I export with the 1440 x 1080 settings it's not shaky, but I need it to be 960 x 540. I can't turn in shaky footage.
    What am I doing wrong and how can I get footage that is acceptable for submission?

    Here is an example of how much quality is lost..
    shooternzforumnotifierThe quality of the footage is lost when I use certain settings in Premiere Pro CS6Premiere Pro

  • Applying a custom dataset to the subreport fails

    System.Runtime.InteropServices.COMException (0x80040203): The communication channel has not been created.
       at CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)
       at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)
       at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(DataTable dataTable)
    exception raises when I try to pass a custom Dataset to a subreport's table via Table.SetDataSource.
    Does anybody knows what happens?
    ps: CR for MS VisualStudio 2005

    I use Visual Studio 2005 and Visual Basic, making a report web site with aspx
    ..NET. The code listed below is in a separate class supporting an aspx. Here
    is the core of my code
    I have report and subreport in my web page
    At startup the report including its subreport shows up fine. If I need a
    refresh, e.g. change to 75% size, go to another page or similar, the code is
    run again but then fails on the statement
    Report2.SetDataSource(SubreportDataValues)
    and the exception message is "The communication channel has not been created."
    It is a System.Runtime.InteropServices.COMException that occurred in
    CrystalDecisions.CrystalReports.Engine.dll
    If I "let it run", my web page shows up with a message saying:
    This group section cannot be printed because its condition field is
    nonexistent or invalid.
    Format the section to choose another condition field. Error in File
    C:\DOCUME1\JAKKI\LOCALS1\Temp\MainReport
    {8E62F51C-012E-410F-BF4A-CBF9E9AB52D5}.rpt: Invalid group condition.
    I believe this is a bi-effect of the real problem. The real problem, I
    think, is that the communication between the Crystal subreport (i.e. report
    engine) and my data is lost in the postback. (I insert "my own" data into the
    two arraylists and store them in session variables for persistance. Changing
    the order of SetDataSource (main report before subreport or vice versa) has
    no effect.)
    I guess the question is "How can I retain (or re-establish) the
    "communication channel" (I don't know the details about what that is -
    between what?) (for the subreport) across web page refresh (i.e. postback)"?
    When I look at the web pages of Business Objects (the vendor of Crystal
    Reports) it looks as this is a bug in Crystal Reports, but that a fix (patch)
    can not be installed as long as I use Crystal Reports embedded in Microsoft
    Visual Studio.
    Is there any Microsoft or Business Objects professionals (or other) who can
    tell me how to get around this problem? Advise a method to retain a subreport
    in a main report across postbacks?
    Please help me.

  • I suddenly have problems syncing my itouch. when i connect it to the computer, it shows that i still have all of my songs and playlists. But when i look on my itouch, it says i have no content in the music section. and when i try to sync it, there's error

    I wanted to listen to some new music i added to my itouch, but when i looked, it said no content in the music section. So i connected to the computer and opened itunes. My device showed up and everything, my playlists and songs where still there, but my itouch still showed No Content. Then i tried to sync it, and there's always an error popping up, so now i have no idea what to do! I have too many songs to start over again! And the iTunes i am using now was not my original one because my old computer broke so i got a new computer and new iTunes, so this iTunes doesn't have all of my songs. i'm sick and tired of being afraid to update my itouch because it says it won't save my songs so when it updates my songs could be deleted. Could someone please help or tell me how to contact the Apple people?

    iPod touches or any iDevices from Apple sync only to one computer. If you sync to a different computer, all your music will be replace with the music from the new computer's iTunes. If the music were purchased from iTunes, you can re-download them again otherwise the music on iPod touch will be deleted. Do you have iTunes backup? 

  • The headers are lost when poped up in Chrome

    I set the authorization header and other self-defined header in URLRequest. It works work well in Chrome when I use URLLoader to load this request. However,when I use navigateToURL(request, "_parent");     to pop up a window, the headers are lost. And I don't know who is responsible for it.Anyone can give me an idea to work around.Thanks in advance

    See http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • How can I get back the information I lost when upgrading my iPhone version?

    Before installing the 3.0 OS on my iPhone 3G, I stored important information in an app I downloaded from the App Store. When I installed the new OS, all my information was lost. I tried to restore my iPhone to my last backup, but nothing, my iPhone still ran on 3.0 and my information was gone.
    Please help me, I really, really need my information back.

    Have you tried contacting the developer of the app for help?

  • Problem when applying a custom stamp, it shows on my document on the screen but when I print it, the stamp is not there.

    I have my pdf open, I created a custom stamp.  Applied the stamp to the document and I see it.  Save my document and then do either a print preview or print it and the stamp is not showing!  This method of applying stamps used to work but something has changed.  I thought it even worked when using Acrobat Standard X but can't be sure.  Really need help as even documents I created previously with stamps applied and I have proof that they printed with the stamp, won't print with the stamp on it.  Thank you.

    You don't even need to use a third party tool.
    Open the JavaScript Console (Control+J)
    Type the text string below in the JavaScript Console and hit Control+Return key.
    this.flattenPages();
    It will flatten all of the annotations and fields within the document to ensure that all the comments and stamps print.

  • Getting FRM-40105 in the sales order form when applying sales credits

    Hi,
    i'm trying to apply sales credits at the line level.
    1.I get FRM-40105 unable to resolve reference to item SALES_CREDITS while trying to save the data in the sales credits window of the sales order form-OEXOEORD(this happens only if i say save and proceed).
    2.If i simply say 'ok' in the sales credits window the data entered in the salesrep field and quota and percentage gets saved but the data i entered in the 'ADDITIONAL SALES CREDIT INFORMATION' flexfield
    doesn't get saved.If i query the order number and if i go back to the sales credits window i'm not able to see the data i entered in the flexfield popup.
    Any idea of why this is happening so? we are in vision 11.5.5.
    Regards,
    Nithya

    Hi All,
    Does any1 have any suggestion for my question...
    Thanks,
    Lp

  • I get a "Unable to process the back up file" error message when trying to restore the bookmarks I lost when I follwed the prompts to Reset Firefox settings.

    I followed the prompts over the weekend to reset my Firefox settings, reassured by the message that said it would save my bookmarks, and now they appear lost. I followed the steps of your help articles and got the error message above. Help!

    You can check for problems with the places.sqlite database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox

  • Entire timeline covered with slanted grey bars.  That portion of the project is lost when sharing as .mov What is it and how do I get rid of it?

    The timeline is covered with top-to right grey lines.  When I share as 29.7 .mov, that portion appears as black in the .mov. 
    What is it?  How do I get it to go away. 
    Jim

    If you double click on a compound clip or right click on a clip and select open in timeline in the project timeline   then a new timeline opens and it will have the gray slanted lines and if you export from that timeline the gray slanted lines areas will be black in the exported file. Perhaps that is what you did. You can also right click a clip in the Browser and select open in timeline and get the same result.

  • I'm just trying to get into my account on iTunes and retrieve the mp3s I lost when my hard drive crashed and there's no clear button for signing on that I can find anywhere.

    It's all in my title.  Why do these companies and programmers have to make everything a hide and seek game?

    If you had the MP3s on your hard drive, just what exactly makes you think that signing in somwhere is going to restore them from a dead drive?
    All you can retrieve from the iTunes store would be what you purchased there, and for that, you need to log in with the same account info you used previously.

  • Pictures lost when applying update

    I recd an alert that an upgrade was available and followed the prompts.  Once complete I came to see all of my pictures were gone.  My contacts remained but not pictures.  Is there any way to retrieve them??  Maybe uninstall the upgrade if possible???  Bear with me as I am by no means a guru on BBs.....thank you!!!!

    Sorry, I hate these Over The Air wireless updates. You should ALWAYS do a backup of the device before performing any operating system upgrade. There needs to be a warning that loss of data can occur.
    Anyway, do this now, go to your Media Icon, press the Menu key > Explore.
    Look in ALL folders, everywhere, and see if you find the images.
    You sure you didn't have these saved to the Media Card? Or you don't even have a Media Card in the device?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can I retrieve the credit I lost when I changed my...

    Everything worked fine until I changed the name on my deceased husband's account to my name and photo. Can I retrieve the credit we had and how?

    contact customer service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

Maybe you are looking for

  • Div Color Questions

    Alright, I'm brand new to CSS and to Dreamweaver so please be easy on me if this is a completely idiotic question .  I have just started some code for a site I'm working on.  I have it almost set up how I want it minus the bells and whistles.  My onl

  • Restarted computer and lost a weeks worth of histo...

    I closed out all rporams and restarted  my compputer. When I reopened skype a week of history was gone as well as contacts I added since 10/2 (today is 10/9). Is there a way to retrieve this? I also see no options on any skype menus for backing up co

  • OUTBOUND IDOCS PROCESSING ON ALE INTERFACE

    Hi experts...     I am working on ALE IDOCS I have a requirement where i have to convert my outgoing idocs into flat files on my local system 1) How do i create a file port and specify the location(directory) 2) How do i assign this file port to the

  • Buffalo Linkstation live - Itunes 10.5

    Hi, I have a linkstation live connected to my home router via ethernet. The linkstation live has an Itunes server built in to this. Prior to upgraded to Itunes 10.5.0.142 my computer (Windows7 32bit) could see my linkstation live as an itunes server

  • Halo 4 Midnight release

    I was wondering if your stores are going to be launching Halo 4 at midnight and if so, are there any in Arizona? Solved! Go to Solution.