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

pass sql statement page to page

Status
Not open for further replies.

colinbell

Technical User
Jul 15, 2004
50
0
0
GB
What is the easiest way for me to pass a sql statement page to page as hidden ?

thanks
kim
 
Code:
Session("SQL_String") = "SELECT myField1, myField2 FROM myTable;"
and then in the pages that use it, as an example...
Code:
objConn.Execute(Session("SQL_String"))

Tony
________________________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top