473,763 Members | 5,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal report TextObject at runtime

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 appreciate to

Thanks for your help.
Nov 20 '05 #1
1 2870
I find my answer and there it is :

t = Etat.ReportDefi nition.ReportOb jects("TextObje ctName")
Text1 .Text = t.Text

if you have a message it tell you you can't access the object or something like this(don't knoow the message in english) save your report before build you program.

bye
Nov 20 '05 #2

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

Similar topics

1
19182
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
0
7788
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 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.
2
12468
by: blackdevil1979 | last post by:
Hello, Is there a way to format the data when it is passed into the Crystal Report(CR).. for example.. In the original table, a number may be left aligned, how to change it to right alignment?.. in other words I want to change it's Format: Horizontal Alignment from Left To Right if the data passed in is an Integer, Currency, or DateTime.
0
863
by: jorgemiguel.paulino | last post by:
Hi, I'm using VB.NET 2002 and Access 2002 databases in my application. I have also one Dataset for each report that I have. I doing my reports with crystal reports and I use textobject to add some particular information, like this: Dim dbDataAdapter As OleDbDataAdapter Dim dbDataSet As New dsBalancete() Dim frmCrystalReport As New frmCrystalReportViewer()
1
1681
by: vipindev.s | last post by:
hi all i am not much expert in asp.net. i am using crystal rpt for report generation. is any other report generation method is available??? i use push method to creat report, and it is working fine, when i export that report to pdf or xls it generate an error like Logon failure. CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
0
281
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 and the alias I use which is the one I want to show in the report. I've tried with a TextObject but I don't know how to print the value of each row of my datatable in that textobject. If I have 3 rows in the report, I always see the same value...
0
1284
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 Form and have it displayed on the Crystal Report in a Textobject Can anyone please give me an example of how I can do this?
1
4743
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, every subreport on separate section and every subreport represents one of simple reports. How can I get access to TextObject which resides in, say, Section1 of the first Subreport? Or can I get access to any Section of Subreport? Smth like:...
5
4337
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 Tex1 textobject when i tried type in. Please help coz im novice to crystal reports. thanx in advance... Regards, Pasan
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9387
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10148
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9823
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8822
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.