.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET 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:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old October 15th, 2001, 01:31 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 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
ASP Fields

Originally posted by : Andy Bramhall (andy.bramhall@uk.ibm.com)Hi,I have a field in a database which can contain one of 3 possible entries: warning,severe,critical. This is called from a search page. If i don't supply any info in the search criteria it displays everything. I need to be able to show each record in different colours depending on each alert (red,green,yellow).Hope someone can help.Regards...

Reply With Quote
  #2  
Old October 15th, 2001, 06:53 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 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
Originally posted by : tonybrough (tonybrough@bigfoot.com)Hi AndyI am fairly new to this and the syntax probably isnt right but I think you need something like:If field1="Warning" then response.write "" & query("Field1") & "elseif field1="Severe" then response.write "" & query("Field1") & "EtcRegardsTony------------Andy Bramhall at 10/15/2001 11:31:49 AMHi,I have a field in a database which can contain one of 3 possible entries: warning,severe,critical. This is called from a search page. If i don't supply any info in the search criteria it displays everything. I need to be able to show each record in different colours depending on each alert (red,green,yellow).Hope someone can help.Regards...

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ASP Fields


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