Issue with only one row printed

Hi,

I am new to FR .NET and I hit a snag I cant solve by myself.

I was given the task of familiarizing myself with our internal implementation of FR solution and I am currently tying to get simple report running.

I have XML with simple structure - root element one subelement containing info about requestor (it serves only as example off additional data I am not using in this particular case) and subelement with contracts which has six subelements of its own (it is named <Contracts> and contains six sublements of the type <Contract> which represent records in the data source). My intent is to create report that displays all six "rows" - all six elements <COntract>. I have selected two columns from that element - "Name" and "Ammount" containing strings. I have added XML as datasource to the report importing all three elements as "tables" (<Request>, <Contracts> and <Contract>) into the template

Now when I generate report through our application (it prepares a report and exports it), the result is report containing only first row of the DataSet (output format has no effect on the result). If I filter out the first row from the datasource in the template, it doesnt return anything at all. I have checked the code and verified, that the instance of "Report" class has all six rows in the dataset and Icompared all settings in the template to the settings that were generated for the same report using designer I downloaded as "Demo" from FR main site. The template looks alike, DataSet is ok, the report using Demo works fine, the report created through custom implementation doesnt.

There is no custom code in the report whatsoever (report display just two values), RowCount set to "1" in both appearances.

I would like to ask what should I be looking for in the code that could change the way how data are treated when report is being prepared and exported so only first <Contract> under <Contracts> element is being processed into a report and rest ignored. Or if there are more settings in template designer I can check where the underlying cause could be.

Thanks in advance for any suggestions provided.

Comments

  • edited 1:13PM
    It has been over a month now and I am still struggling with this issue - surely this cant be unusual issue. Will anyone help me please?

    I have tried toying with RowCount on data band, I have tried manipulating with data bound to databand and with binding itself, I have tried everything I could dig up on the forum and only thing I have is a workaround that unfortunately is not sufficient for the task I was gien recently. I am literally stuck.

    Please help...
  • edited 1:13PM
    I think you don't have select a datasource for the databand (Data1)
    Erchi wrote: »
    It has been over a month now and I am still struggling with this issue - surely this cant be unusual issue. Will anyone help me please?

    I have tried toying with RowCount on data band, I have tried manipulating with data bound to databand and with binding itself, I have tried everything I could dig up on the forum and only thing I have is a workaround that unfortunately is not sufficient for the task I was gien recently. I am literally stuck.

    Please help...

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.