Crystal Report & Textbox.text

Can you put data from a textbox.text into a crystal report? Please provide novice instructions or help with code. Cheers~
LVL 1
Jack_JonesAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
You dont need to use datasets to pass a text value to the report. Use a parameter. Here is a tutorial

http://vb.net-informations.com/crystal-report/vb.net_crystal_report_parameter_string.htm
0
 
Jack_JonesAuthor Commented:
Maby could be done with a new dataset, then add that database to the crystal report. Don't know how to do that just sounded like an idea lol.
0
 
mlmccCommented:
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Jack_JonesAuthor Commented:
Heading to work, soon as I get back home ill try it out. ;)
0
 
Jack_JonesAuthor Commented:
mlmcc will it mess up a report that already has a dataset binding to it, or can you have more than 1 dataset on a report?
0
 
Éric MoreauSenior .Net ConsultantCommented:
>>or can you have more than 1 dataset on a report

A report can only have one dataset but a dataset can contains many unrelated tables.
0
 
Jack_JonesAuthor Commented:
So I would add the textbox.text to the dataset, and then place it onto the report somehow.
0
 
Éric MoreauSenior .Net ConsultantCommented:
you add data (content) to the dataset and then bind your report textbox to this dataset
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.