Paul Hill wrote: >>> I agree but the point I was making is that I have often seen other >>> peoples spaghetti nested IIF() code like this: >>> >>> cAnimal = IIF(field1=1,"cat", IIF(field1=2,"dog", IIF(field1=3,"mouse", >>> "?"))) >>> >>> And that's a simple example. >>>
Paul cAnimal = IIF(field1=1,"cat", IIF(field1=2,"dog", IIF(field1=3,"mouse", "?"))) cAnimal = ICASE(field1=1,"cat",field1=2,"dog",field1=3,"mouse","?") I know which one I find more readable ... Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

