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" ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The formula would simply be the text he wants passed in " "
mlmcc
mlmcc
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Look at the dynamic report formula sample. In general it is easier to pass a formula into the report than a text box.
mlmcc