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!

Session variable as DB Results Criteria

Status
Not open for further replies.

lahstech

Technical User
Sep 27, 2005
3
US
I want to use session("lastname") from a logon page as the criteria for records to be shown through a DB Results table. In other words, I want to display in a table only the records that belong to session("lastname"). How do I set the criteria for the query to be limited to the session("lastname") that is NOT from a hidden value passed from a form?
 
Since I'm using Frontpage 2003 - changing any code is automatically changed back by Frontpage in the sql statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top