Link to home
Start Free TrialLog in
Avatar of Grimal
Grimal

asked on

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

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" ?

Avatar of Mike McCracken
Mike McCracken

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
ASKER CERTIFIED SOLUTION
Avatar of EwaldL
EwaldL

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The formula would simply be the text he wants passed in " "

mlmcc
Avatar of Grimal

ASKER

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?

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial