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

Printing one document per person

2 Answers 106 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 04 Mar 2020, 01:19 PM

 I need to print a voucher document, one page/ document per person.

 I have defined a data source to retrieve a single record (Select FullName, StudentId from Table where Student ID = '1234567')  but when I try to set the value of a text box in 'Edit Expression' there are no Fields in the Field list. When I key in =Fields.FullName, nothing appears in the preview. When I key in [=Fields.FullName] then I see [=Fields.FullName] in the Preview.

 

What am I missing?

 

Thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Katia
Telerik team
answered on 09 Mar 2020, 08:19 AM

Hi Michael,

I tried to reproduce this behavior using AdventureWorks SQL database (Select GroupName, Name, DepartmentId from Humanresources.Department where Name = 'Marketing') and the Fields collection was retrieved successfully both in the DataSource component preview and the report's preview. 

Check if the data source is bound to the data item, i.e. if data item's DataSource property is set to the DataSource component. In order to provide you further suggestions send us the problematic report in a support ticket so we can check the exact settings.

 

Regards,
Katia
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Michael
Top achievements
Rank 1
answered on 10 Mar 2020, 01:28 PM

OK. I had defined the data source in the 'project' but had not set the data source property of the report. This is resolved now. Thank you.

 

 

Tags
Report Designer (standalone)
Asked by
Michael
Top achievements
Rank 1
Answers by
Katia
Telerik team
Michael
Top achievements
Rank 1
Share this question
or