Try:

if ( (typeID '= "Alle") && (typeID '= "Ohne") )

Nuno

Dipl.-Ing. Werner Riegler wrote:
hi

what is wrong here ?

 if (typeID '= "Alle" && typeID '= "Ohne") {

should work like

 if (typeID != "Alle" && typeID != "Ohne") {

if typeID is not equal to "Alle" and also not equal to "Ohne"
"Alle", "Ohne" ... are string literals,
typeID is passed by

 Set typeID = %request.Data("TYPEID",1)

via

xxxx.csp?TYPEID=Alle

brg

werner






Reply via email to