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 April 20th, 2001, 04:44 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Want to use "null" value in parameter drop down box

<i><b>Originally posted by : Paula Hamilton (paula.hamilton@verizon.com)</b></i><br /><br />I want to use a "null" value in my parameter drop down box that will be used in a select statement. When a user chooses a null value, I want all rows for that field to show up. <br /><br />For example:<br /><br />SELECT * FROM Table WHERE (Field = '::Field::')<br /><br />Please help!

Reply With Quote
  #2  
Old April 24th, 2001, 12:09 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : notimportant (jhunt@alagreen.com)</b></i><br />If you want all of the rows in the field to show then leave the WHERE CLAUSE out of the QUERY<br /><br />from:<br />SELECT * FROM Table WHERE (Field = '::Field::')<br />to:<br />SELECT Field FROM Table<br /><br /><br /><br />------------<br />Paula Hamilton at 4/20/2001 2:44:48 PM<br /><br /><br />I want to use a "null" value in my parameter drop down box that will be used in a select statement. When a user chooses a null value, I want all rows for that field to show up. <br /><br />For example:<br /><br />SELECT * FROM Table WHERE (Field = '::Field::')<br /><br />Please help!

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Want to use "null" value in parameter drop down box


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 3 hosted by Hostway