On Apr 5, 2007, at 4:10 AM, Ronald Vogelaar wrote: > The LR says on FolderItem.TrueItem: > > If this FolderItem is a directory, Index is an element in a one-based > array of FolderItems in this directory. TrueItem returns the actual > FolderItem, even if it is an alias. > > > if this is so, then why can't I do: > > Dim f As FolderItem=GetFolderItem( "somefolder" ) > Dim g As FolderItem > > For Each g In f.TrueItem > ... > ... > Next
Because the compiler disagrees with the documentation. f.TrueItem is not a function that returns an array. Charles Yeomans _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
