Hi
I am trying to pass a parameter field's value at run time behind cr viewer in vb6.0. Here is the syntax I am using:
mUserName = "x"
Report.ParameterFields(1).AddCurrentValue mUserName
also, I am trying to pass multiple discrete values by:
Report.ParameterFields(2).AddCurrentValue "001;S01"
The problem is at runtime, App. prompts for first and second parameter values. I have tried after removing second parameter from the report. but I was unable to disable the prompt.
Any suggestions?
thank you very much
I am trying to pass a parameter field's value at run time behind cr viewer in vb6.0. Here is the syntax I am using:
mUserName = "x"
Report.ParameterFields(1).AddCurrentValue mUserName
also, I am trying to pass multiple discrete values by:
Report.ParameterFields(2).AddCurrentValue "001;S01"
The problem is at runtime, App. prompts for first and second parameter values. I have tried after removing second parameter from the report. but I was unable to disable the prompt.
Any suggestions?
thank you very much