Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bind CR and Add Parameter Field

Status
Not open for further replies.

WaZda

Programmer
Jun 22, 2007
48
GB
Hi,
I have some database field i've dragged and dropped on my Crystal report. I programatically create a dataset and bind it to the report. This works perfectly. Now i have some other parameter fields placed on the report that am trying to send data into, but this is not working. When i comment the code for binding the dataset(myReport.SetDataSource(ds)) the parameter field is filled correctly. But i have to get the two working. Someone please help

WaZda
 
I've finally got it. what i did to get it work was to bind the dataset to the report, before i start writting the codes to initiate the parameter fields value on the report. Then after all that i load it in the viewer.
Thank u.

WaZda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top