>Curious indeed! VFP9 Help file says:
>
>
For collections using keys, cKey is a case-sensitive parameter and cannot be empty or have a null value (.NULL.). >
>So which is it?
>
>
I can only repeat the suggestion I already made - compare values of lcFolder before and after and add an extra check.
Doesn't make much sense, but would not hurt anyway.
If it's not broken, fix it until it is.
My Blog