This is a migrated thread and some comments may be shown as answers.

Subreport in a table doesn't show the info

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
davortsan
Top achievements
Rank 1
davortsan asked on 17 Dec 2015, 02:09 PM

Hi mates,

I have a report with a dataset with some textboxes and a table. There are two dataset, one of the report (dsReport) and another different one of the table (dsTable). This table has two columns, the first one is a subinform and the other one show a value of dsTable. A field of dsReport is used like a paremeter in dsTable with the expression ReportItem.DataObject.id.ToString(). The value of the field that is showed in the second column is showed successfully but if I try to show this same value in the subreport using it like a parameter of the subreport, the value is not showed.

I think it's difficult to explain it so, please, if you need any trdx file, let me know it.

 Thanks a lot in advance.

Cheers.

David Ortega

1 Answer, 1 is accepted

Sort by
0
Accepted
davortsan
Top achievements
Rank 1
answered on 17 Dec 2015, 02:30 PM

I found the solution, the data type of the field that I sent to the subreport was Guid. Using the ToString() function, it worked for me.

Thanks a lot for your help!.

Cheers.

David Ortega.

Tags
General Discussions
Asked by
davortsan
Top achievements
Rank 1
Answers by
davortsan
Top achievements
Rank 1
Share this question
or