peace be with you
i have a textbox the user write in it its "name" and i want to send this name to crystal report " 10 " to previewing it in the report .
- how i can send it ??
- can i send it by varibale or by using function in cr10 ?
thanks
Printable View
peace be with you
i have a textbox the user write in it its "name" and i want to send this name to crystal report " 10 " to previewing it in the report .
- how i can send it ??
- can i send it by varibale or by using function in cr10 ?
thanks
I have only used CR 8.5 and 9 but should still be similar in 10.
There is a Parameters collection of the repport object when you add a reference to CRAXDRT
Also, you need to create a parameter in CR and place it on your report so it know where you want it.
Moved
peace be with you
thanks rob
but can i have a code !!
thanks
peace be with you
rob it's ok .. to make a parameter but there is two things ::
- the item index (( item(1) )) ..... is this just creatingh new one or must depend on the name of the field in the cr report ???
- if this just creating new items oh the cr report will resive its values ?
thnaks
If you only have one parameter then the .Item(1) is fine but if you have multiple parameters then you need to use .Item("blah"). Blah would be the parameter name that you gave it in CR.
peace be with you
thanks man... solved