Solved

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

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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