SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 30th, 2004, 01:49 PM
Antiquated Antiquated is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 17 Antiquated User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
select WHERE from previous form?

Is it possible to have a WHERE clause select from a form filled out on the previous page? Like SELECT * FROM tblname WHERE City= and then here I want the city to be selected from the form on the previous page. Is this possible? The name of the form is, lets say, city1. So how do I tell WHERE that it needs to see what city was selected in that form and then search for that city in the db? SELECT * FROM tblname WHERE City=?? any help would be appreciated. Its just a text field on the previous form so they just type the city, so if they mistype it then no records will be displayed but I dont care about this for now.

Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > select WHERE from previous form?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT