OK - I spoke too soon (probably not, but I need help).

InContainer is working just fine for me EXCEPT, we have several OUs that I am trying to enumerate, all of them have a 2 or 3 character name (HQ, DCR, etc.), except for one that is simply "Memphis". When I run the script below:
Code:

$HQ = InContainer("OU=HQ,DC=corp,DC=premcor,DC=tld","User")
$DCR = InContainer("OU=DCR,DC=corp,DC=premcor,DC=tld","User")
$PAR = InContainer("OU=PAR,DC=corp,DC=premcor,DC=tld","User")
$LIR = InContainer("OU=LIR,DC=corp,DC=premcor,DC=tld","User")
; $MER InContainer("OU=Memphis,DC=corp,DC=premcor,DC=tld","User")
$BIR = InContainer("OU=HQ,OU=BIR,DC=corp,DC=premcor,DC=tld","User")
$HAT = InContainer("OU=HQ,OU=HAT,DC=corp,DC=premcor,DC=tld","User")
$HFR = InContainer("OU=HQ,OU=HFR,DC=corp,DC=premcor,DC=tld","User")

Select
Case $HQ[0]>0 ? "HQ"
Case $DCR[0]>0 ? "DCR"
Case $PAR[0]>0 ? "PAR"
Case $LIR[0]>0 ? "LIR"
Case $MER[0]>0 ? "MER"
Case $BIR[0]>0 ? "BIR"
Case $HAT[0]>0 ? "HAT"
Case $HFR[0]>0 ? "HFR"
EndSelect



It works fine, but if I uncomment the line that contains Memphis, I get:
Code:

ERROR : Error in expression: this type of array not supported in expressions.!



Any ideas on this one? Thanks.
_________________________
-- oobnuker - .KIX hack - no really.