Telerik Forums
Reporting Forum
1 answer
1.0K+ views
My I know how can I join string/data in a single Report Field?

Example:
=Fields.uAddress1 & ", " &  =Fields.uAddress2


Please advice.
Hrisi
Telerik team
 answered on 29 Feb 2008
1 answer
121 views

How to use a preformatted text on a textbox?
The spaces on left aren't being printed.

Here is the data that I'm trying to print (1920 chars):

"__ XXXXXXXXXX-XXXXXX,XXXXXXXXX,XXXXX ( XXXXXXXX XXXX XX XXXXXXX ) ____________  CONSULTA EM XX/XX/XXXX AS XX:XX                       USUARIO : XXXXXX          DATA EMISSAO      : XXXXXXXXX       * XX  XXXXXX    * NUMERO  : XXXXXXXXXXX     DATA LANCAMENTO   : XXXXXXXXX                                                   UNIDADE GESTORA   : XXXXXX  - XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX             GESTAO            : XXXXX   - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                    CGC/CPF/UG CREDOR : XXXXXXXXXXXXXX  - XXXXXXXXX XXXXXXXX XX XXXXX X XXX - XXXX  GESTAO CREDOR     :                                                             EVENTO            : XXXXXX  - XXXXXXXXXXXXXXXXXX                                                PROGRAMA DE           FONTE     NATUREZA               PLANO    PTRES    UO     TRABALHO             RECURSO    DESPESA      UGO      INTERNO   XXXXXX  XXXXX   XXXXXXXXXXXXXXXXX   XXXXXXXXX   XXXXXXXX   XXXXXX  XXX.XXX.XXXX ACORDO          :                       MODALIDADE       : X - XXXXXXXXXX       LICITACAO       : X - XXXXXXXXXX        REFERENCIA LEGAL : XXXXXXXXXXXXXXXXXXXX ORIGEM MATERIAL :                       NUMERO PROCESSO  : XXXXXXXXXX           1-SERVICO/2-MATERIAL :                  EMPENHO ORIGINAL : XXXXXXXXXXX          NUMERO OFERTA COMPRA :                  NUMERO CONTRATO  :                      IDENTIFICADOR OBRA   :                                                          VALOR           :               XXXXXXXX                                        LOCAL DE ENTREGA: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX        EM XXXXXXXXX    TIPO DE EMPENHO : X - XXXXXXXXXXXXXX                                            LANCADO POR : XXXXXXXXXXXXXXXXXX - XXXXXX              EM : XXXXXXXXX AS XX:XX                                                                                                                                                                  " 

[]'s!

Henrique

Rossen Hristov
Telerik team
 answered on 28 Feb 2008
5 answers
238 views
Hello,

I started to play with Telerik reporting, it seems very promising.
I would like to know if it's possible to do easily a report that have a HTML table layout, see my screenshot to understand what I mean.

My datasource is a SQL database, I see that you can bind what you want on the report. My question is more about the layout capabilities of Telerik Reporting.

I'm thinking about making one line with textbox inside a panel and try to apply styles. I'm not sure if it's a good solution, it's seems a bit complicated complex. Is there a better solution ?

PS : screenshot sample of the layout desired here






Svetoslav
Telerik team
 answered on 28 Feb 2008
2 answers
286 views
Hi,

I need to use conditional formatting on a report that one field is a DateTime, the condition must be activated when this field take a value less or equal that another DateTime.

But the filters works with String only, how cold I make a filter work with DateTime?

Exemple of my code:
[code]
FormattingRule formAtraso = new FormattingRule();
rule.Filters.Add(new Filter("=Date", FilterOperator.LessOrEqual, AnotherDateTime.ToString()));
rule.Style.Color = Color.Red;
detail.ConditionalFormatting.Add(rule);
[/code]
Ricardo Cardoso
Top achievements
Rank 1
 answered on 27 Feb 2008
5 answers
269 views

DataSet ds = new DataSet();

ds = dbTools.OragetDataSet(GroupReport.SubReportDataSourceSelectCommandText, "xfe");
subreport.Report.DataSource = ds;

getting error : Object reference not set to an instance of an object.
Any ideas.

Fani
Telerik team
 answered on 27 Feb 2008
3 answers
100 views
The textbox allignment in design view of the report and the allignment in run time are differemt as some of the textbox position is incorrent.
How to solve this?
Svetoslav
Telerik team
 answered on 26 Feb 2008
6 answers
855 views
Hello -
I have a report which includes a couple of items that might not always appear on the report.  The user can select whether to include them on my web page interface.  When I run the report with all textboxes and data fields, it works fine.  But when the user selects to NOT include a couple of the fields, (this is handled via a stored procedure) the report errors out with something like:  The expression contains object 'Description' that is not defined in the current context.

Is there a way for me to dynamically add/remove the textbox control at runtime? 

Thanks
 - will
Hrisi
Telerik team
 answered on 25 Feb 2008
2 answers
188 views
Hi!

Good Day!

I'm using Telerik Reporting Q1 SP1, which is the available release in our license, and I can't create a Telerik Report document.

It always gives me an error of "A file or folder with the name '<filename>' already exists. Please give a unique name to the item you are adding,or delete the existing item first."

I don't have any such file within the project directory, and I have searched for it but no to avail. Is this a bug for this release?

Thanks.
Noel
Svetoslav
Telerik team
 answered on 25 Feb 2008
1 answer
126 views
Hi recently our company brought this product i would like to know is there any option to print report straight to printer pl let me know as soon as possible
Svetoslav
Telerik team
 answered on 25 Feb 2008
2 answers
474 views
I have a master report, and inside it are several subreports. 

Each subreport has its own set of header information for its particular set of records.  (Each subreport is, in effect, a completely new report, and the master report just allows them to all be printed into the same PDF document.)

If the number of records in a subreport spills onto another page, there is currently no way for me to specify that the subreport header needs to also appear on the subsequent pages that show the subreport's data.

Is there a way to do this manually?  Can I specify, for instance, that after every 25 records I want to cause a page break and manually print the headers again, and then continue with the data?

It would so great if subreports could have their own SubreportPageHeader and SubreportPageFooter fields, but until that happens, do you have any creative ideas for a work-around?

Thanks!

Matthew
Chary
Top achievements
Rank 1
 answered on 24 Feb 2008
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?