I think you want
if(form["qty#k#"] is "") newqty = 0;
else newqty = form["qty#k#"];
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/t
I believe it is:
if(form["qty#k#"] IS "")
newqty = 0;
else
newqty = form["qty#k#"];
Try to avoid the evaluate if possible.
Steve
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 3:51 P
if (form["qty#k#"] = '')
{
newqty = 0;
}
else
{
newqty = form["qty#k#"];
}
The brackets are, actually, optional in this case, but I always always
always use them. That way, if I need to add more lines to the clause, I
don't fortet to add them. :-)
-- Ben Doom
Programmer &
3 matches
Mail list logo