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

Error using server.execute() method

Status
Not open for further replies.

Jerish

Programmer
Nov 25, 2001
13
IN
Hi Guys ,

I am having an asp file ("createquery.asp") which is only used to append a session variable to create the where part of a query . I want to use this asp file as a general one for all the search forms we use in our project . So I need to pass some parameters like "FieldName" , "Type" and "Value" .

When I tried to pass the above parameters to the createquery.asp file in the Server.Execute() method it gives error .

In the microsoft site they confirm that we can't pass parameters to this file used in the method.

Is there any way we can pass the values as parameter to the asp file ?

Thanks
Jerish
dess-ltd@eth.net
 
How did you try to pass the variables? Form post or querystring/get?

I've used querystring:

"aspage.asp?id=1&name=joe"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top