Crystal report parameter passing
-
hi, I'm new to crystal report staff and I need some help!I have to print a receipt using crystal report.The receipt should be filled from a database table.I tried with an orinary table without parameters and it works. The problem is that my receipts are customizable so that each client could get his own receipt that 's why I need parameters, So instead of assigning a table from a database, I tried the addCommand and wrote down my sql statement that looks like this:"select * from bill whrere customerId='"+param1+"' and date ='"+param2+"' these parameters were filled in a windows form"biling" previously in textBoxes.Now the qestion is how can I pass both param1 and param2 from "billing textBoxes" to my query? So that I can get the required data in my bill. I'm using C# in VS.net. If anyone can help I would appreciate! Thanks a lot