Hi,
i got a Problem using Parameter for my Report.
The code i use is the following:
Dim stireport1 As New Stimulsoft.Report.StiReport
stireport1.Load(path) ' Where path is my filename to the report
stireport1.Compile()
stireport1.CompiledReport.DataSources.Item("Orders").Parameters.Item("@OrdernunberParameter").ParameterValue = 150062
The Report is loaded but when i try to set the parameter i receive an error
"Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
NullReferenceException was unhandled
The Parameter exists in the Datasource "ORDERS"..
How can i fix this ? i need to give a parameter to load different Orders.
Thx a lot
Got it allready.
:biggrin:
SQL Parameter for Report
SQL Parameter for Report
Please ensure that the name of the parameter is "@OrdernunberParameter".
Thank you.
Thank you.