Page 1 of 2
getting concated string from records in datatable
Posted: Thu Sep 13, 2012 7:56 am
by re4gi
Hello,
is it possible to created some concated string from records in datatable?
For example I have table Users and there are 3 records in there:
username
-----------
Bob
Dylan
Jeremy
I want to get concated string looked like this (Bob, Dylan, Jeremy).
Could you help me with it please?
Thanks a lot,
Regi
Re: getting concated string from records in datatable
Posted: Thu Sep 13, 2012 11:47 am
by csbrogi
Hello
you ma use the new function JoinColumnContent
Code: Select all
{Func.EngineHelper.JoinColumnContent(DatatableName, "ColumnName", ", SN: ")}
Regards
Clemens
Re: getting concated string from records in datatable
Posted: Thu Sep 13, 2012 3:59 pm
by Markus Weiß
Since wich version does this function exist?
I often had this problem in the past.
Markus
Re: getting concated string from records in datatable
Posted: Fri Sep 14, 2012 9:16 am
by HighAley
Hello.
This feature was added few months ago.
Please, check your latest prerelease build.
Thank you.
Re: getting concated string from records in datatable
Posted: Mon Sep 17, 2012 12:20 pm
by re4gi
Is it possible to use this function in Stimulsoft Report.Web as well?
Re: getting concated string from records in datatable
Posted: Mon Sep 17, 2012 2:10 pm
by HighAley
Hello.
Yes. You could use it in Reports.Web.
Thank you.
Re: getting concated string from records in datatable
Posted: Tue Sep 18, 2012 10:59 am
by re4gi
And the last question, could I find this function in Demo version as well?
Thank you for answers.
Regi
Re: getting concated string from records in datatable
Posted: Wed Sep 19, 2012 7:10 am
by Alex K.
Hello,
Yes. Please download the last prerelease build from our site:
"Prerelease Builds (Trial Versions)"
http://www.stimulsoft.com/en/downloads
Thank you.
Re: getting concated string from records in datatable
Posted: Tue Dec 04, 2012 9:59 am
by re4gi
I have two data tables which are in relation, is it possible to have the concated string only from the records from the child table which are related with the record from the parent table?
Thanks.
Re: getting concated string from records in datatable
Posted: Tue Dec 04, 2012 11:03 am
by Alex K.
Hello,
Please check the sample report in the attachment.
Thank you.