views:

175

answers:

1

I need to get data from reports fields to open others windows forms or other reports, How I can get the values of reports fields to pass to local C# o VB.net variables ?

+1  A: 

I think the issue is at a higher level. You want to use "variables", perhaps in the form of a DataTable, and bind that to the Crystal Report. This allows separation of your data access (in a Data Access Layer) from your presentation, and prevents report data sources from being buried within the oh-so-fun Crystal visual designers. This will allow you to then use the same DataSet for any other part of your application - in answer to your question.

HardCode
No.I need to handle click event in preview form in Crystal Report, when user click on the report I need to capture the data that user clickedThx
Bitnius
No.Suppose you have a Crystal Report Viewer shwoing sales data, in VB6 Crystal Report Viewer you can make click on invoice number and programatically you can open a window with all informationregarding that invoice BUT ! in VB.NET 2008 Crystal Report Viewer you can't handle that !What is the method that I can use to making click on Crystal Report Viewer Form can open a windows with the data of that invoice I clicked ?
Bitnius