Passing parameters to Crystal reports VS 2005 - VB - Net 2.0

M

M66

I am new to all this so please be gentle.

I wish to pass 3 parameters (in other reports there may be more or
less) from a web form to a crystal report(which is based on a stored
procedure) that can either be on the same aspx page or on its own aspx
page.

I have found a few examples here none of which I can get to work in my
situation.

Any guidance and /or sample VB code anybody can offer would be very
much appreciated.


Thanks

Mark M
 
S

sang yang

you have to declare like

Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldDefinition As ParameterFieldDefinition
Dim crParameterValues As New ParameterValues
Dim crParameterDiscreteValue As New ParameterDiscreteValue

depends on ur parameter , i cant type all here , plz refer this site ,
it will help u i think

http://vb.net-informations.com/crystal-report/vb.net_crystal_reports_tut
orials.htm

http://vb.net-informations.com/crystal-report/vb.net_crystal_report_para
meter_date.htm


yang.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top