When 40 subreports are added programmatically to a report the last subreport to be added is shown first while all other reports are in the correct order

I am loading multiple sub-reports (up to 40) into a master report document using the Crystal SDK. This is accomplished by obtaining a reference to the detail area, adding a section to it, and then importing the subreport into the detail area. The master report does not contain a whereclause and contains no data other than the other sections so it is display only once.
When I add the section to the master report I give an index of -1 so that it would always appear on the bottom in the report. This works until I print a report containing exactly 40 reports at which time the last section is shown at the top of the report. All other sections (and hence subreports) appear in the correct order. If I print less than 40 reports all sections are in the correct order. If I print more, the export process crashes as documented in Invalid Section Height when I load the nth subreport
I am using Crystal Reports SDK 13.0.8. Visual Studio 2012. .NET 4.5.2.
The pertinent bit of code is shown below. What might I be doing incorrectly? Is this a Crystal SDK bug?
Thanks,
Ryan
private ReportDocument AddSubReportToParent(string subReportName, string fileName)
    try
        CrystalDecisions.ReportAppServer.ReportDefModel.ISCRArea headerArea = _crystalDocument.ReportClientDocument.ReportDefController.ReportDefinition.ReportHeaderArea;
        CrystalDecisions.ReportAppServer.ReportDefModel.ISCRArea detailArea = _crystalDocument.ReportClientDocument.ReportDefController.ReportDefinition.DetailArea;
        CrystalDecisions.ReportAppServer.ReportDefModel.ISCRArea footerArea = _crystalDocument.ReportClientDocument.ReportDefController.ReportDefinition.ReportFooterArea;
        CrystalDecisions.ReportAppServer.ReportDefModel.Section section = new CrystalDecisions.ReportAppServer.ReportDefModel.Section();
        // strip dots from name (any character that is not a number or letter causes a name/ID runtime error from the Crystal Reports SDK)
        string sectionName = "Section" + subReportName.Replace(".", "");
        section.Name = sectionName;
        section.Kind = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindDetail;
        section.Width = headerArea.Sections[0].Width;
       _crystalDocument.ReportClientDocument.ReportDefController.ReportSectionController.Add(section, detailArea, -1);
        _crystalDocument.ReportClientDocument.SubreportController.ImportSubreport(subReportName, _configSettings.InputPath + "\\" + fileName, section);
        ReportDocument subreport = _crystalDocument.OpenSubreport(subReportName);
        return subreport;
    catch (Exception ex)
        Logger.ErrorException(ex);
        throw;

Hi Ryan
The search string 'crystal net 40' (search box in top right corner, returns this KBA:
2105208 - ER - CR .NET SDK has a Section limit set to 104 and subreport limit of 40
SP 13 for "SAP Crystal Reports, Developer Version for Visual Studio .NET" can be downloaded here:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter

Similar Messages

  • I rented a movie on apple tv, but during streaming, the voices of the actors is very quite while all other noises are normally to hear

    I rented a movie on apple tv, but during streaming, the voices of the actors is very quite while all other noises are normally to hear

    Hi vazandrew, thanks for your help, Ive just checked, both home sharings ie Apple TV and itunes on my laptop, and they were both on , but for the heck of it, I turned them off and back on again. I still have the same problem.
    Im looking in purchased films, am I looking in the right place ?
    Thanks

  • My Ipad doesn't connect to wifi while all other devices are connected.

    My iPad doesn't connect to wifi anymore while all other devices in the same network are connected including iPod.
    iPad was connected this morning, but quit connecting since this afternoon.
    It tries to connect, but everytime connects, it disconnect within a second, and it keep doing the same thing.
    This is the first time ever I see this problem since I started using this iPad.
    What happened to my iPad??

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Firefox is not going online while my other browsers are

    for the past 4 days, when i click on the firefox icon it automatically installs an update that i cannot stop. then the window opens and it does not go online, while my other browsers are.

    Do you have "Work Offline" checkmarked in the File menu? If so, click it to remove the checkmark.
    If not, please do the following.
    Click '''Help''', then '''Restart With Add-ons disabled'''.
    Next, click the button called "'''Continue without making changes'''". Firefox will subsequently restart in Safe Mode which means all your add-ons will be disabled.
    Then go to '''Help '''| '''About Firefox '''and click the '''Check For Updates''' button to download version 4.0.1

  • HT4623 When I updated my iPhone to iOS 6.1.3, somehow the iTunes App did not make it back to my iPhone.  So, I now have an iPhone without the iTunes App.  All other apps are on my iPhone.  How do I get back my iTunes App, so I can continue buying music an

    When I updated my iPhone to iOS 6.1.3, somehow the iTunes App did not make it back to my iPhone.  So, I now have an iPhone without the iTunes App.  All other apps are on my iPhone.  How do I get back my iTunes App, so I can continue buying music and flix?

    Check the General -> Restrictions settings and see if perhaps the iTunes app is turned off there. If not, the app may have been inadvertently moved to another home screen or dropped into a folder. Do a search for the app or try resetting the Home screen layout: Choose General > Reset, then tap Reset Home Screen Layout.
    Regards.

  • When using FaceTime, all other sounds are muted. This defeats functionality. When will this be corrected?

    When using FaceTime, all other sounds are muted. This defeats functionality. When will this be corrected? Does anyone know of a "fix" for this problem? This definately is NOT a feature.

    yes, that is exactly what mine did too. I noticed that something is wrong after receiving calls and did not hear anything.
    It was like the IPhone did not realize that the headphone is not any longer plugged in. I m not sure weather I plugged/unplugged the headphones after this more than once but it startet working correctly.

  • When viewing my webmail with firefox there is nothing in the inbox, but all other folders are fine

    problem is when viewing my webmail with Firefox there is nothing in the inbox, but all other folders are fine.

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When I try to download the creative cloud the page doesn't load, I tried different browsers, still all I see are blue and gray boxes!

    When I try to download the creative cloud the page doesn't load, I tried different browsers, still all I see are blue and gray boxes!
    HELP!

    If you're facing this problem, just wait and it will work!

  • Page 4 of 6 of the actual library storing apps has frozen; effects all apps on that page-all other pages are fine and accessible just not the apps on this page; wont even toggle and give the option to delete when i hold down on a an app. Any ideas?

    Page 4 of 6 of the actual library storing apps has frozen; effects all apps on that page-all other pages are fine and accessible just not the apps on this page; wont even toggle and give the option to delete when i hold down on a an app. Any ideas?

    this is similar to your question.just go-through it or if you stuck then reply back for more info on this problem : https://support.mozilla.org/en-US/questions/974711

  • When i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    when i openned an excel attacment from an e-mail, it locked uped the e-mail. All other functions are ok.

    So if you tap the excel document you don't get a Done button at the top ? If not then try closing the Mail app completely : from the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • HT1338 all of sudden comcast and facebook pages do not load when i try to access them on my mac.  all other websites are fine. any one out there having the same issue?

    all of sudden comcast and facebook pages do not load when i try to access them on my mac.  all other websites are fine. any one out there having the same issue?

    That's just not right - I mean, it really wrong to have to use a Windows machine to access your Facebook account. Can you pull up Comcast on IE as well?
    Something's going on and I'm surprised that deleting your cache and cookies for those sites didn't work.
    Let me fool around a bit - what's your primary browser?
    Curious,
    Clinton

  • HT204409 Suddenly my ipad seems unable to connect to our wifi. All other devices are working normally. Have I accidentally done something or is it a fault with my ipad ?

    Suddenly my ipad is unable to connect to our wifi. It buffers all the time?
    All other devices are working normally. Is this a fault wityh my ipad or have I inadvertantly altered some setting?

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" I would be thankful if you could help me?

    I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" then I tried to open it but nothing happened.... I would be thankful if you could help me..
    Process:         Numbers [1021]
    Path:            /Applications/Numbers.app/Contents/MacOS/Numbers
    Identifier:      com.apple.iWork.Numbers
    Version:         3.0 (1470)
    Date/Time:       2014-06-27 16:13:23.405 +0100
    OS Version:      Mac OS X 10.9.3 (13D65)
    Report Version:  11
    Anonymous UUID:  243D9264-54B7-E9AE-2F83-D11098965D14

    I have a problem to open my Number Program. this message appear when i try to open"The last time you opened Numbers, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again" then I tried to open it but nothing happened.... I would be thankful if you could help me..
    Process:         Numbers [1021]
    Path:            /Applications/Numbers.app/Contents/MacOS/Numbers
    Identifier:      com.apple.iWork.Numbers
    Version:         3.0 (1470)
    Date/Time:       2014-06-27 16:13:23.405 +0100
    OS Version:      Mac OS X 10.9.3 (13D65)
    Report Version:  11
    Anonymous UUID:  243D9264-54B7-E9AE-2F83-D11098965D14

  • I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download

    I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download.  Any help very gratefully received.  Thank you.

    Hi, I'm not really very good with computers and am having the same problems when trying to install the Ikea 3D kitchen planner, please could you take me through the steps?
    1. Download (save) the disk image file 2020PluginInstaller.dmg
    I double click on the link which says "Install 3D Planner"
    I agree to the t&cs
    A file downloads to my download folder called 2020PluginInstaller_IKEA.dmg
    2. Mount the disk image (open/run the downloaded file) if not mounted automatically
    I double click on the downloaded file
    3. Find the 2020PluginInstaller window (might be behind the window on top)
    A small window opens up with a lego brick called 2020PluginInstaller_IKEA.dmg and a folder called Internet plug ins.  I highlight the lego brick and do File, Get info and unlock it
    4. Drag the lego piece to the folder (if you do not have admin privileges you will be prompted to authenticate)
    I do this and put in a password to authenticate
    5. Restart the browser (it is not enough to close the browser window, you need to restart the browser
    application)
    I've tried restarting Safari, I've tried re-starting the computer
    6. Access the same link and you will now see the Start button and be able to start planning your room!"
    When I go back to the IKEA kitchen planner I don't see a start button, I just see the exact same screen as before prompting me to install the 3D planner
    Please can you help?

  • Hi, I can't update my Photoshop in the CC. all other programs are working fine with the updates. only photoshop isn't.  I've already tried to uninstall, and install again and it didn't work.

    Hi, I can't update my Photoshop in the CC. all other programs are working fine with the updates. only photoshop isn't.  I've already tried to uninstall, and install again and it didn't work.

    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

Maybe you are looking for