Dthmtlgod wrote:
> Could someone please look at my code below, I am trying to nest a
not really nested
> couple of if statements together and it is not working. I think I am
> close.
>
> if len(rsMove("MonitorID1")) > 0 and len(rsMove("MonitorID2")) > 0
> then response.write ("Dual Monitors")
> else if
should be a single word: elseif
This would be nested:
if len(rsMove("MonitorID1")) > 0 and len(rsMove("MonitorID2")) > 0 then
response.write ("Dual Monitors")
else
if len(rsMove("MonitorID1")) > 1 and len(rsMove("MonitorID2")) = 0 then
response.write ("Single Monitor")
else
response.write ("No Monitor")
end if
end if
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
|