Solved

How to pass in data to a text box in Crystal Reports 10

Posted on 2004-10-04
8
674 Views
Last Modified: 2010-05-18
I call this report from vb.net.  I send it a query no problems.  However, I have a text box on the report that I need to pass in data to.  Basically, the report title.  How in vb.net code, do I set this text box to read "Sales Report" ?

0
Comment
Question by:Grimal
  • 3
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 12223470
http://support.businessobjects.com/communityCS/FilesAndUpdates/vbnet_win_samples.exe.asp

Look at the dynamic report formula sample.  In general it is easier to pass a formula into the report than a text box.

mlmcc
0
 
LVL 13

Accepted Solution

by:
EwaldL earned 38 total points
ID: 12253859
changing a text object should be easier. you don't have to worry about any formula syntax.. this article explains how to do it
http://support.businessobjects.com/library/kbase/articles/c2010641.asp
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12255339
The formula would simply be the text he wants passed in " "

mlmcc
0
 
LVL 1

Author Comment

by:Grimal
ID: 12258396
So far so good, the example code is fairly hard to understand, I was hoping for something a little more simple.  Ewaldt, thats exactly how I did it with older versions of Crystal with VB 6, but that no longer works with the new version.  I was hoping for something like

Report.txtTitle = "SALES REPORT"

Even the example code doesn't exactly tell you how to get the field names INTO the text boxes.  Any more hints?

0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 37 total points
ID: 12454718
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now