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!

Filter with Session Variable 2

Status
Not open for further replies.

suicidaltendencies

Programmer
Jan 28, 2004
58
US
I want to filter the rows I'm pulling into my report with a asp.net session variable. Does anyone have any idea how to do this? I'm new to CR's and will need extra help.

Thanks,
Harold
 
All I want to do is, instead of prompting the user for a parameter field value, I want to provide it though the code.

Thanks,
Harold
 
Then what you're looking for should be in the samples, particularly anything that references setting a parameter value, and disabling the default prompt window, like:

session("oRpt").EnableParameterPrompting = False

Session("oRpt").ParameterFields.GetItemByName("ExampleStringParameter").AddCurrentValue(CStr("I am a string"))

Look at the SimpleParameterFields example from the applicable link below...

For 8.5:

For 9.0:

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top