Hi Carl,
Have you checked out SELECT CASE......END SELECT?
Looks like it would work and even easier to read.
>Is there a function in VBScript like an "Immediate IF"?
>example:
><% iif("name = ''", nbsp, rs_data("Customer_Name")%>
>
>I am working on an ASP and am using VBScript for the scripting language.
>
>I have used the iif() in FoxPro but all I can find in the reference
>manuals for VBScript is the standard if/else/blah blah blah.
Tony
Skill comes from Diligence