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!

response.write 1

Status
Not open for further replies.

crmpicco

Programmer
Nov 29, 2004
66
0
0
GB
How do i response.write this out?

Set rsFare = con.Execute("select * from net_fares where (arr LIKE ('%" & UCase(ariapt1) & "%')) and (dep LIKE ('%" & UCase(depapt1) & "%')) AND cabin='"& cabinclass & "' and company_id = '"& trim(session("agencyid"))&"' ORDER BY 1fare1234 ASC")
 
I assume you just mean the SQL.
Code:
strSQL = "select * from net_fares where (arr LIKE ('%" & UCase(ariapt1) & "%')) and (dep LIKE ('%" & UCase(depapt1) & "%')) AND cabin='"& cabinclass & "' and company_id = '"& trim(session("agencyid"))&"' ORDER BY 1fare1234 ASC"

Response.Write strSQL

Set rsFare = con.Execute(strSQL)

Tony
________________________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top