On Oct 6, 2006, at 11:02 AM, [EMAIL PROTECTED] wrote:

You should have to loop from 1 to FolderItem.Count. FolderItem.Item(0) unfortunately returns the parent directory.

I don't this is documented anywhere, so please people, don't rely on it. Hopefully this will change eventually to be sane.

Right, this is undefined behavior.

It is better than getting a NIL object on index 0. The fact that FolderItem.Item() and a few other older classes are 1-based really throw me off! I kept getting NilObjectExceptions with RecordSet.IdxField(0) and was thinking it was my SQL.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to