none
Report is blank when more than one detail row RRS feed

  • Question

  • I have one problem which I try to solve for several days. I made master-detail report. I was made dataset like it was sead in every wolkthrough tutorial, made .rdls report in design, drop fields on the report and chose report on the form.
    Problem is that that when I have one resulting row in my query all is ok, my report is rendered ok. When I have more than one resulting rows, then my report is totaly blank, it shows nothing.

    Sorry for my englesh, and I hope that you anderstand my problem. I wonder if someone have same problem and what can be the reason for this.
    Sunday, January 24, 2010 10:58 AM

Answers

  • I solved the problem. Anyway, if someone need a reason why it was hapening it is simple. I just needed to clear my datase before filling it.

    Like this:



    Me.A4GotovinaIspis.Clear()
    
    
    Me.DataTable1TableAdapter.Fill(Me.A4GotovinaIspis.DataTable1, racunID)
    
    

    • Marked as answer by zaro Sunday, January 24, 2010 3:43 PM
    Sunday, January 24, 2010 3:40 PM

All replies

  • I solved the problem. Anyway, if someone need a reason why it was hapening it is simple. I just needed to clear my datase before filling it.

    Like this:



    Me.A4GotovinaIspis.Clear()
    
    
    Me.DataTable1TableAdapter.Fill(Me.A4GotovinaIspis.DataTable1, racunID)
    
    

    • Marked as answer by zaro Sunday, January 24, 2010 3:43 PM
    Sunday, January 24, 2010 3:40 PM
  • Now it's working even when I disable this Clear() command.
    Sunday, January 24, 2010 5:32 PM