473,394 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Set Text Of Crystal Report TextObject

Visual Studio 2002, Crystal Reports.NET

I am unable to set the text of a text object in a crystal reports
report. I have found lots of examples for doing this, and what I have
does not throw any errors or warnings, but in my displayed report, the
textobject in question is not being changed.
Code:
crReport1 Rpt = new crReport1 ();
TextObject to =
(TextObject) Rpt.ReportDefinition.
Sections["ReportHeader"].ReportObjects["txtRHTitle"];
to.Text = "New Text";

Changing other aspects of the textobject work as expected:
to.Border.BackgroundColor = System.Drawing.Color.AliceBlue;
to.Border.HasDropShadow = true;
to.Border.TopLineStyle = CrystalDecisions.Shared.LineStyle.DoubleLine;

Only the text of the textobject does not change.

Any ideas? Thanks

MATT
Please reply to group, email is not valid.
Nov 15 '05 #1
0 7732

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Matt Theule | last post by:
Visual Studio 2002, Crystal Reports.NET I am unable to set the text of a text object in a crystal reports report. I have found lots of examples for doing this, and what I have does not throw...
0
by: raj | last post by:
Hello , I have a problem, rich text bullets are not displayed in Crystal report. Environment : VS .NET 2003 CrystalDecisions.CrystalReports.Engine Version 9.1.5000.0 ( it came with ..NET...
8
by: michele | last post by:
Hi, i have in my crystal report viewer .net a multiline field. When i preview the report, the text in the field is clipped on the right, so some words are invisible... i'm going mad; i've searched...
1
by: Eric | last post by:
Hi, Can somebody tell me a way to change the value of a textobject in a report at runtime. By the way if anyone know a way to know how many page my report are going to had in code it will be...
0
by: fasenjof | last post by:
Does anybody know how to add a field to a detail section of a report at runtime? I have a CR and want to view the data of my own query. Everything's ok but the problem is with a SUM of my query...
0
by: MarkusJ_NZ | last post by:
Hi, I have a Windows Form with a Report Viewer on it. At runtime I bind my crystal report to a Datatable and this works well. What I would like to be able to do is pass a value from the Windows...
1
by: MizukaEno | last post by:
Hello, experts. I'm using C# to create WinForms application with Crystal Reports as a reporting tool. I have three very simple table-like reports and I have one report with three subreports,...
11
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
5
by: Pasan Indeewara | last post by:
Hi, I want to assign some parameter values passed into crystal report constructor to textobjects on crystal reports. Is there a way of doing it? coz when i checked intellisence does not show the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.