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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use the parameter name in the Item() statement

Status
Not open for further replies.

cuneyt

Programmer
Mar 3, 2003
42
AU
hello fellows,

In CR8 samples for Parameter Fileds, there is a sample asp form that is called "ParameterField.asp", When I checked it out I've found this statement below;

----------------------------------------------------------------------------------------------------------------------
set Param1 = session("ParamCollection").Item(1)
This line creates an object to reference the first parameter in the report. You can also use the parameter name in the Item() statement.
----------------------------------------------------------------------------------------------------------------------

The second statement says "You can also use the parameter name in the Item() statement."

I've tried that as you can see below;

----------------------------------------------------------------------------------------------------------------------
I did it this way:
Set session("ParamToChange") = session("ParamCollection").item("UserID")

instead of that:
Set session("ParamToChange") = session("ParamCollection").item(1)
----------------------------------------------------------------------------------------------------------------------

so anybody knows how to use it this way?

thanx in advance...
 
is that problem hard or doesnt make sense?
 
still no answer? am i missing something?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top