|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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...
|
|
#2
|
|||
|
|||
|
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...
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP Fields |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|