Bug Report Q243967
Visible to All Users

Only 1 Row Shown in Report

created 15 years ago

In the previous version 2009 Volume 2, my reports where working fine, but since upgrading to Volume 3, each report only shows the first row i.e. only 1 row is shown in the report.
When I design it and preview, I get all rows as expected.
What did you change between these versions which may have caused this behaviour?
Regards, Garry.

Show previous comments (3)

    Andrew - I did follow your recommendations and wrote the following code AFTER the .DataSource assignment:
    myReport.DataMember = myReport.DataMember
    This now works - is this by design?
    Regards, Garry.

    DevExpress Support Team 15 years ago

      Hi Garry,
      Thank you for the feedback. I see the issue in the attached project.
      I'll convert it to the bug report. Our developers will examine it, and do our best to find its cause.
      Thanks,
      Andrew

      DevExpress Support Team 15 years ago

        Hi Garry,
        Thank you for the report. After further consideration we've found that this behavior is caused by the fact that you don't update the DataMember property of your report after updating its data source. Note that for correct operation, your should either provide the same name for your data table or set the DataMember property of your report to the new value, according to your requirements. Please refer to the updated sample in the attachment, and feel free to ask for clarification if necessary.
        Thank you,
        Valery

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.