Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parameter fields

Status
Not open for further replies.

ajp18

Programmer
Jun 13, 2003
57
US
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 sorry,
Please discard this thread.
I was discarding saved data after seeting parameter fields' values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top