Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 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