Joined: 14 Dec 2010
Online Status: Offline
Posts: 5
Topic: Passing a value as a paramter Posted: 14 Dec 2010 at 11:19pm
Please i need some help about this problem.i want to pass an integer value as a paramater to my report using this code
cryRpt.Load(Application.StartupPath & "\SpecificAreaReport.rpt")
Dim crParameterFieldDefinitions As ParameterFieldDefinitions
Dim crParameterFieldDefinition As ParameterFieldDefinition
Dim crParameterValues As New ParameterValues
Dim crParameterDiscreteValue As New ParameterDiscreteValue
The problem is when i run this code it gives me a COM Exception which i dont understand why it is giving me that exception at this line---- crParameterFieldDefinition = crParameterFieldDefinitions.Item("empID")
Please help me.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum