Solved

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

Posted on 2004-10-04
8
675 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

12 Experts available now in Live!

Get 1:1 Help Now