Hi, I was hoping I could use a switch statement to test what Object type is selected on my ADG but I don't think it's possible and need to use an if, else if, chain...
if ( orgStructureADG.selectedIndex >= 0 ) { switch ( orgStructureADG.selectedItem ) { case VendorCompcodeData: { trace( "VendorCompcodeData" ); } case VendorPurchorgData: { trace( "VendorPurchorgData" ); } default: { trace( "default" ) } } } I can't drop in the "is" statement. Is this right, or am I going mad? :) Cheers, Nick